Hi I had problems with zero dpi tiffs as there was a bug in apache xmlgraphics code which threw an IllegalStateException for zero resolution instead of Using source resolution set on 'FOPFactory', this has been fixed in xmlgraphics trunk and I have used it in my code to fix the issue.
Thankyou lmpmbernardo wrote: > > I would use imagemagik then from the command line: > > convert old.tif -density 300 new.tif > > On Thu, Nov 24, 2011 at 10:46 AM, qns.java <[email protected]> wrote: >> >> Hi >> >> The problem is, there is a huge bulk of Images that have this problem and >> I >> only have read access to these Images.I get the Image Locations from >> database and embed them in xml to pass on to FOP.I was trying to find out >> with the existing infrastructure how can I be able to generate a pdf. >> >> thankyou >> >> >> qns.java wrote: >>> >>> Hi >>> >>> I am using Apache FOP to generate PDF from jpegs and tifs.When >>> generating >>> pdf from tifs which have a dpi of 0 an IllegalStateException : >>> resolution >>> mus be set is thrown. >>> >>> I tried setting source resolution to 96dpi on FOPFactory ,but that did >>> not >>> work.I am using FOP 0.95. >>> >>> Please advise what I am missing to do. >>> >>> Thankyou >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Problem-generating-PDF-from-tifs-with-zero-dpi-tp32874297p32875054.html >> Sent from the FOP - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Problem-generating-PDF-from-tifs-with-zero-dpi-tp32874297p32880515.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
