This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes why does fop scale my images? (too big) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "why does fop scale my images? (too big)" Watch "why does fop scale my images? (too big)" New topic
Author

why does fop scale my images? (too big)

Robert Jaeger
Ranch Hand

Joined: Apr 29, 2002
Posts: 62
Hi,

I am using the formatting object processor to transform from XML to PDF and I think it is a great thing.
However, my included images (PNGs) are scaled. I saved them with 96dpi, fop changes the size to display them in 72dpi, that is what I think. I cannot scale the images (make them smaller) in advance since they are screenshots (scaled screenshots look really bad).
It seems that it doesn't matter if I save an image with 72, 96 or 300dpi, they are always displayed about 30% to big
What can I do to avoid this problem?

It would be great if someone has a good advice
Regards,
Robert.
 
Don't get me started about those stupid light bulbs.
 
subject: why does fop scale my images? (too big)
 
Similar Threads
NX: User guide
Change size of SVGs in PDF (xsl:fo)
Android HelloWorld Error
Height and Width proportional algorithm?
Fit data in a PDF page