> On Tuesday 19 June 2007 00:55:21 Yegor Kozlov wrote:
>> HSLF can't convert ppt slides into images and I don't think we will
>> ever support it. Even if we will, the ppt2png renderer will be pretty
>> limited. Only simple shapes such as text, images, lines and rectangles
>> can  be  rendered well. Also, in Java we can render only JPEG and PNG.
>> Other picture formats such as PICT, WMF, BMP, etc. may require third-party
>> libraries.

> Well, to be more precise the renderer would render to Java2D, and what the
> caller happens to pass in as a Graphics2D object is the caller's choice.  The
> renderer wouldn't even have to have any explicit code for JPEG nor PNG.

The target is Java2D. I'm absolutely agree.

A potential problem is how to convert pictures contained in a ppt into
java.awt objects.

Java2D can read only JPEG and PNG, that is we parse a ppt file, read a
JPEG and pass it to the target Java2D object. But how to convert WMF
or PICT into java.awt.Image?

Yegor




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to