I hate to quote myself, but I just realized that I had to apply this patch again against a new server install. Did somebody look at my bug report from back in April?
It's a one-line fix so it really shouldn't be too hard to review. :) Is this the wrong forum? Again, please keep the CC as I'm not subscribed to the list. On Fri, Apr 4, 2008 at 11:31 AM, Ole Laursen <[EMAIL PROTECTED]> wrote: > Hi, > > Try this > > import Image, ImageDraw > > i = Image.new("RGBA", (100, 100), (255, 0, 0, 0)) > draw = ImageDraw.Draw(i) > draw.line([(0, 50), (100, 50)], fill=(255, 0, 0), width=3) > i.save("original.png") > > i.rotate(15, Image.BICUBIC, True).save("enlarged.png") > i.rotate(15, Image.BICUBIC, False).save("not-enlarged.png") > > Then take a look at "enlarged.png". Contrary to "not-enlarged.png", > it's not anti-aliased in spite of both having Image.BICUBIC set. I > believe this is a bug in rotate(). It appears to be a question of line > 1320 in Image.py > > return self.transform((w, h), AFFINE, matrix) > > missing the resample parameter > > return self.transform((w, h), AFFINE, matrix, resample) > > > (Please keep the CC as I'm not subscribed to the list.) > > -- > Ole Laursen > http://www.iola.dk/ -- Ole Laursen http://www.iola.dk/ _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig