Bob,

IIRC, you are putting a 900px file into a 25pt area. FOP should shrink it to 
fit, but I suspect it still has issues doing this with large jpgs. Other image 
types (gif etc) work better.

Cheers,
Roland

From: bob swanson [mailto:bobswans...@gmail.com]
Sent: Monday, 13 May 2013 12:51 PM
To: fop-users@xmlgraphics.apache.org
Subject: One JPG Displays, the Other Does Not

I noticed this problem with a much larger document
I'm producing. I was able to trim down
to a small .fo file and two JPG images.

I can display the JPG images with many software
products, so I know they are valid. However, the
PDF file created by my short script (using
the "fop" script on a Mac OSX system),
displays only one of the images. The
other is missing. I've tried viewing the
created PDF file with Adobe Reader, and
"Preview" from the Mac. In both cases, the
second image does not appear.

What am I doing wrong?

The .fo source, the two JPG files, and
a simple execution script for the "fop"
shell script are in:

http://swansongrp.com/misc/problem.zip

(you can ignore the link reference errors, but
there are no errors from reading the JPG
files)

Thanks for your help.


Bob Swanson

Reply via email to