Vladimir, Try to use new Word-to-HTML converter from trunk version of Apache POI. Don't forget to provide PicturesManager implementation to it to save and convert images.
-- Sergey Vladimirov On Mon, Aug 22, 2011 at 3:02 PM, Vladimir Fedotov <[email protected]> wrote: > Hi, > > is there any way to extract picture's width and height? I'm trying to > convert Word document to XHTML and it doesn't look good to have a vector > image without any info about its size within a source document. > > Picture class has methods getHeight and getWidth, but somehow they > always return -1 both for floating and inline pictures. Maybe this was > already fixed, i'm using POI from Apache Tika and it's probably old. > -- > Vladimir Fedotov <[email protected]> > ISP RAS --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
