Problems with BILINEAR/BICUBIC filters in PIL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Fitzpatrick

    #1

    Problems with BILINEAR/BICUBIC filters in PIL

    Hi all

    I'm fairly new to Python with PIL and I'm having some problems with the
    BILINEAR/BICUBIC filters when rotating and transforming images.

    If I use resize() with NEAREST, BILINEAR and BICUBIC I can clearly see
    the difference in the filters.

    But if I use rotate() or transform() then there is no difference, and
    they all look like NEAREST filtering.

    Any ideas as to what I am doing wrong?

    I am testing with a simple, small BMP image, so the mode is RGB.

    I'm running Python 2.2.2 on Windows with PIL 1.1.4.

    Help appreciated,

    Tim

Working...