[Image-SIG] PIL 1.0b1 finally available for download

Gary Herron gherron@aw.sgi.com
Thu, 14 Jan 1999 11:54:21 -0800


Fredrik Lundh wrote:
> 
> Some 30,000 lines of shining new code is now available
> via http://www.pythonware.com/downloads.htm
> 
> give it a try and tell me what doesn't work.
> 
> on official announcement will follow on monday
> (unless everyone on this list tells me the release
> is seriously broken, of course).
> 
> Cheers /F
> http://www.pythonware.com/people/fredrik/status.htm
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG@python.org
> http://www.python.org/mailman/listinfo/image-sig

I found a small bug (typo actually) in PIL-1.01b. The file is  
   Imaging-1.0b1/libImaging/Geometry.c.  

One of the calls that *should* be call a bicubic 
filter actually calls a bilinear filter.

Here is a patch, however it would probably be easier to just hand edit
it.

*** Geometry.c.~1~      Sat Jan  9 11:58:35 1999
--- Geometry.c  Thu Jan 14 11:40:31 1999
***************
*** 442,448 ****
          else if (im->image32) {
              switch (im->type) {
              case IMAGING_TYPE_UINT8:
!                 return bilinear_filter32RGB;
              case IMAGING_TYPE_INT32:
                  return bicubic_filter32I;
              case IMAGING_TYPE_FLOAT32:
--- 442,448 ----
          else if (im->image32) {
              switch (im->type) {
              case IMAGING_TYPE_UINT8:
!                 return bicubic_filter32RGB;
              case IMAGING_TYPE_INT32:
                  return bicubic_filter32I;
              case IMAGING_TYPE_FLOAT32:

-- 

+-------------------+-----------------------------------+
| Dr. Gary Herron   |     E-mail: gherron@aw.sgi.com    |
| Alias | Wavefront | Snail-mail: Alias | Wavefront     |
| 206-287-5616      |             1218 3rd Ave, Floor 8 |
|                   |             Seattle WA 98101      |
+-------------------+-----------------------------------+