[Zope-CMF] TIFFS and CMFOptions
Raphael Ritz
r.ritz@biologie.hu-berlin.de
Fri, 31 Jan 2003 09:14:48 +0100
You might want to consider using Python's imaging library PIL
for that purpose. The Zope Book contains an explicit example
of how to include this.
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx
(look for PIL or imaging on that page)
Raphael
David Stockwell wrote:
> Hi,
>
> I haven't made progress with and would appreciate help.
> I have people with TIFF files would do not want to convert them
> but want to upload them and see them none-the-less.
>
> I am using CMFOptions to provide an external image type to store them.
> Seems like I can only use png, jpeg and gif though.
>
> Either I could (1) convert them to one of jpeg, png or gif on upload, or
> (2) change Zope to be able to display TIFFs as a native format.
> I would like to do it within the CMFOptions. If the
> answer is to "write an external method" or some such thing
> I'll need some actual code to do it as my zopertise mediocre.
>
> Thanks
>
>
>