Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Problems with BILINEAR/BICUBIC filters in PIL (http://www.velocityreviews.com/forums/t319214-problems-with-bilinear-bicubic-filters-in-pil.html)

Tim Fitzpatrick 07-03-2003 09:39 PM

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



All times are GMT. The time now is 06:23 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57