[jira] [Created] (FOP-2849) Scaling of Grayscale Windows BMP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FOP-2849) Scaling of Grayscale Windows BMP

Andreas Joseph Krogh (Jira)
Stefan Hegny created FOP-2849:
---------------------------------

             Summary: Scaling of Grayscale Windows BMP
                 Key: FOP-2849
                 URL: https://issues.apache.org/jira/browse/FOP-2849
             Project: FOP
          Issue Type: Bug
          Components: image/unqualified
    Affects Versions: 2.2
         Environment: Linux
            Reporter: Stefan Hegny
         Attachments: big.bmp, big.fo

I'm using external-graphics with grayscale 8bit Windows BMP Files. Whenever the Image has to be scaled down, in the pdf it is flipped horizontally, acutally not keeping its aspect ratio, and the grayscales look dim. See big.fo. Sometimes when using imagemagic convert (-depth 8 -colors 256 -type grayscale) I also managed to get it flipped vertically and goes out of the block at the top. 

Extracting the image with pdfimages gives a ppm, its aspect rafio is correct  but still the colours are dim.

FO Files and sample BMPs are attached and here: [https://www.magentacloud.de/share/6x.svy3pz9]

The small works ok, the big shows the described effect with FOP 2.2 - Im not sure if the issue is FOP of the Java Image IO, please advise

Thanks & regards, Stefan



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)