You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by bu...@apache.org on 2011/07/25 21:54:59 UTC

DO NOT REPLY [Bug 50657] [PATCH] ImageIO adds Inch Resolution Unit, X and Y res, and Rows per Strip

https://issues.apache.org/bugzilla/show_bug.cgi?id=50657

--- Comment #14 from Dave Schwartz <Da...@ncr.com> 2011-07-25 19:54:59 UTC ---
Hi Joshua,

I'm speaking as a prospective user under the FOP framework. I have a
requirement for a project that has some specific needs for TIFF images (header
and content). Using the current FOP and XMLGraphics release, the images are not
conforming to these requirements. One of the repairs (single strip images)
would require decompressing and recompressing which I would rather avoid by
having the image created that way in the first place. I can see a path to be
able to reprocess the TIFF to do that but your patch update would seem to make
that unnecessary. The other requirement I am faced with is for ResolutionUnit
to be 'inches' - I have successfully configured for X/YResolution=200 but it
still presents that as 787402/10000 dots/centimeter.

I understand I could use the options in your patch by calling the appropriate
methods. Since the 'options' I need to set would be the same for every image
generated, is there a way for them to be set through initialization either in
the fop.xconf or XSL file?

-- 
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: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org