Hi all How can i convert on the fly tiff images to jpg or gif before publish them with Zope ? If somebody has a solution... Thanks for help. -sylvain
I just posted a hotfix to create thumbnails on the fly (http://www.zope.org/Members/bowerymarc) -- when you use the 'tag' method of Images. It generates JPEG thumbs of the size specified in the tag. You could either use that (so you'd still have access to the original format), or adapt it.
From: "Sylvain Boureliou" <sylvain.boureliou@msg-software.com> Reply-To: <sylvain.boureliou@msg-software.com> Date: Tue, 21 Aug 2001 16:02:47 +0200 To: <zope@zope.org> Subject: [Zope] to convert images on the fly with zope
Hi all
How can i convert on the fly tiff images to jpg or gif before publish them with Zope ? If somebody has a solution...
Thanks for help.
-sylvain
_______________________________________________ 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 )
I just posted a hotfix to create thumbnails on the fly (http://www.zope.org/Members/bowerymarc) -- when you use the 'tag' method of Images. It generates JPEG thumbs of the size specified in the tag. You could either use that (so you'd still have access to the original format), or adapt it.
I feel that the term 'Hotfix' isn't really the appropriate label to use for your product; 'Monkey patch' is more approrpiate maybe, as it is not a hotfix. It is not a fix for a serious problem in Zope that cannot wait for the next release, the normal intent of a hotfix, for example. The term 'hotfix' now has contextual meaning, that of a urgent fix for a serious, usualy security related prioblem in Zope. -- Martijn Pieters | Software Engineer mailto:mj@zope.com | Zope Corporation http://www.zope.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
From: "Martijn Pieters" <mj@zope.com>
I feel that the term 'Hotfix' isn't really the appropriate label to use for your product; 'Monkey patch' is more approrpiate maybe, as it is not a hotfix. It is not a fix for a serious problem in Zope that cannot wait for the next release, the normal intent of a hotfix, for example. The term 'hotfix' now has contextual meaning, that of a urgent fix for a serious, usualy security related prioblem in Zope.
Well, blame Caseman! :) http://www.zope.org/Members/Caseman/Dynamic_Hotfix It's a brilliant way to extend and modify zope without getting screwed with the next release -- I wish I knew about it before. What should we call 'products' which change the behavior of core zope components? Since normally 'products' add functionality, they don't usually change the core behavior. I suggest that, with the increasing popularity of these hotfix-based products, having the name 'Monkey patch' occurring regularly throughout the site might cause corporate types some hesitation when considering the adoption of zope :)
Have a look at PIL (http://www.pythonware.com) It's a Python package for playing with bitmaps. I did a similar thing in few lines of pure Python/CGI. You should perhaps consider to build a cache of converted images to improve performanes. It should not be that difficult to do within Zope. ----- Original Message ----- From: "Sylvain Boureliou" <sylvain.boureliou@msg-software.com> To: <zope@zope.org> Sent: Tuesday, August 21, 2001 4:02 PM Subject: [Zope] to convert images on the fly with zope
Hi all
How can i convert on the fly tiff images to jpg or gif before publish them with Zope ? If somebody has a solution...
Thanks for help.
-sylvain
_______________________________________________ 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 (4)
-
Gilles Lenfant -
marc lindahl -
Martijn Pieters -
Sylvain Boureliou