You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Stefan Hegny (JIRA)" <ji...@apache.org> on 2019/03/17 12:02:00 UTC

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

     [ https://issues.apache.org/jira/browse/FOP-2849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Hegny closed FOP-2849.
-----------------------------
    Resolution: Invalid

Should go to xmlgraphics with more details

> 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
>            Priority: Minor
>         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)