This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

why does fop scale my images? (too big)  RSS feed

 
Robert Jaeger
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!