Hi, Supported image formats in PPT are: EMF, WMF, PICT, JPEG, PNG and DIB.
If you insert pictures in other formats PPT may convert them, for example, into JPEG or PNG and store the converted data. I confirmed that on Windows BMP is converted into PNG. Could you send your PPT with TIFF? I would like to examine it. PNG and JPEG images are organized in a similar way: 25 byte header + raw image data. Probably this rule breaks for other formats. Probably there are some "features" with ppts created on MAC. You never know it with PowerPoint :) Regards, Yegor SC> Hi, SC> when designing a ppt presentation on macosx, the resulting ppt may embed SC> TIFF or PICT images that can't be displayed on windows or linux with OOo. SC> I was trying to develop a small app that would translate any TIFF file SC> in a ppt to a png file. SC> I know that hslf only handles png and jpg so far, but using the examples SC> code I managed to save other picture data to see if I can recognize the SC> format. SC> Unfortunately, I couldn't. SC> Do you know what this format is ? If we can translate a TIFF image to a SC> png, would it suffice to replace it in the in-memory array of pictures SC> and save the document ? SC> thanks, and best regards. SC> stephane SC> PS: I uploaded an exemple of a ppt file, with two images, one PNG, one SC> PICT, that can't be displayed in windows (either red-cross or something SC> that says that you need quicktime, or a blacksquare). SC> http://www.tls.cena.fr/tmp/blacksquare.ppt SC> --------------------------------------------------------------------- SC> To unsubscribe, e-mail: [EMAIL PROTECTED] SC> Mailing List: http://jakarta.apache.org/site/mail2.html#poi SC> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
