Dirk Meyer wrote: > Jason Tackaberry wrote: >> Author: tack >> Date: Fri Jan 5 17:52:46 2007 >> New Revision: 2356 >> >> Modified: >> trunk/imlib2/src/image.py >> >> Log: >> Make scale_preserve_aspect work when target aspect is different from >> source aspect. > > A bug in kaa.imlib2? > NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Thanks, works a treat :D You may have noticed that I added the size calculation function to freevo-1 in util.fileops.py to perform this aspect calculation as the calculation is quite general purpose and is useful for the webserver when it opens up the full image and not just the thumbnail. Wonder if this would be a useful function for kaa.imlib2? Cheers, Duncan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel