poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52255] RFE: XWPFPictureData should allow registration of new image formats
Date Tue, 29 Nov 2011 14:06:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52255

--- Comment #4 from pslaby@hotmail.com 2011-11-29 14:06:38 UTC ---
Created attachment 27999
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27999
Sample with various image formats

I have tried to insert a Windows Bitmap (BMP), Tiff, Encapsulated Postscript
(EPS), WordPerfect Graphics (WPG) and Compressed Enhanced Metafile (EMZ) in
Word 2007, the result is attached. My version of Word did not accept PCX. I was
not able to find or produce examples of the other image formats originally
listed in my post. 

It seems that, with the exception of tiff, Word immediately converts the images
to emf or png. Tiff is the only one that remains as tiff in the docx file and
(probably) the only missing in XWPFPictureData constants (<Relationship
Id="rId5"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
Target="media/image2.tiff"/>).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message