Summary: fop massively scales up some jpeg images in pdfs
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        ReportedBy: [EMAIL PROTECTED]

Description of problem:

When using fop to create a PDF document from DocBook XML, some (but not most)
JPEG images are scaled up instead of being shown at 100%. In this test case,
this results in only a small part of the image being shown on the page.

This image was created from a .png (which had transparency, I think, in case
that is interesting), with imagemagick's convert command, and then scaled down
with imagemagick's "mogrify --resize 450x450" command. It seems to be that
resizing that made an image that causes problems for fop, though fop has no
problem with other images that were processed in the same way.

Other applications, such as eog, have no problem with this file.

(I did the conversion to JPEG because of bug #461740, and I did the resizing
because I see no other way to tell fop, or the DocBook XSL, to fit the images
on the page without cropping.)

Steps to Reproduce:

1. Unpack this tarball:
(I would attach it but that does not work in this bugzilla for tarballs.)

2. cd into the directory

3. Do:
xsltproc -o -xinclude --catalogs flumotion.xml 

4: Do:
fop -fo -pdf flumotion.pdf

The tarballs contains the generated PDF so you can see the result without even
doing that.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to