Writing a Script To Thumbnail Photos
Hi; I know it's easy to write a script that proportionally changes the width and height of jpegs, but can I programmatically change the size of the image at the same time? In other words, in Photoshop I can make thumbnails that are considerably lighter than the original photos. Can I do the same programmatically? Is that what PIL is for? If so, any heads up on available scripts? TIA, beno
Use the Photo product: http://www.zope.org/Members/rbickers/Photo Ausum ----- Original Message ----- From: "beno" <zope@thewebsons.com> To: <zope@zope.org> Sent: Thursday, October 31, 2002 5:52 PM Subject: [Zope] Writing a Script To Thumbnail Photos
Hi; I know it's easy to write a script that proportionally changes the width and height of jpegs, but can I programmatically change the size of the image at the same time? In other words, in Photoshop I can make thumbnails that are considerably lighter than the original photos. Can I do the same programmatically? Is that what PIL is for? If so, any heads up on available scripts? TIA, beno
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
At 06:42 PM 10/31/2002 -0500, you wrote:
Use the Photo product:
LOL! I installed this product and PIL a year ago in anticipation of doing just that and subsequently forgot all about it! Thanks! beno
Or: http://www.zope.org/Members/bowerymarc/ImageTag_Hotfix on 10/31/02 6:42 PM, Ausum Studio at ausum_studio@hotmail.com scrivened:
Use the Photo product:
http://www.zope.org/Members/rbickers/Photo
Ausum
----- Original Message ----- From: "beno" <zope@thewebsons.com> To: <zope@zope.org> Sent: Thursday, October 31, 2002 5:52 PM Subject: [Zope] Writing a Script To Thumbnail Photos
Hi; I know it's easy to write a script that proportionally changes the width and height of jpegs, but can I programmatically change the size of the image at the same time? In other words, in Photoshop I can make thumbnails that are considerably lighter than the original photos. Can I do the same programmatically? Is that what PIL is for? If so, any heads up on available scripts? TIA, beno
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
In adition, you may want to review ImageTag. Although its a hotfix, that product does exactly what you need, meaning it can make PIL to resize your stored images on the fly. If you're going to have a lot of these requests, you may consider instead to use Photo (it pre-sizes all thumbnails and stores them in the ZODB at the upload). The ImageTag hotfix: http://www.zope.org/Members/bowerymarc/ImageTag_Hotfix/ Ausum ----- Original Message ----- From: "beno" <zope@thewebsons.com> To: <zope@zope.org> Sent: Thursday, October 31, 2002 5:52 PM Subject: [Zope] Writing a Script To Thumbnail Photos
Hi; I know it's easy to write a script that proportionally changes the width and height of jpegs, but can I programmatically change the size of the image at the same time? In other words, in Photoshop I can make thumbnails that are considerably lighter than the original photos. Can I do the same programmatically? Is that what PIL is for? If so, any heads up on available scripts? TIA, beno
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Ausum Studio -
beno -
Marc Lindahl