[
https://issues.apache.org/jira/browse/XGC-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684686#comment-17684686
]
Joshua Marquart commented on XGC-134:
-------------------------------------
Below is a list of differences beginning at line 304 in both files.
* * indicates a matching row
* X indicates a mis-match
* ... indicates multiple identical rows omitted
{noformat}
$ broken.txt fixed.txt
-------------------------------------------------------------------------------------------------------------------
X Rendering intent: Perceptual Rendering intent:
Undefined
X Gamma: 0.45455 Gamma: 0.454545
* Chromaticity:
X red primary: (0.64,0.33)
X green primary: (0.3,0.6)
X blue primary: (0.15,0.06)
X white point: (0.3127,0.329)
* Background color: gray(255) Background color:
gray(255)
* ...
* Orientation: Undefined Orientation:
Undefined
X Profiles:
X Profile-exif:
2858 bytes
* Properties: Properties:
X date:create: 2023-02-06T11:21:05+00:00 date:create:
2023-02-06T11:21:00+00:00
X date:modify: 2023-01-24T08:29:33+00:00 date:modify:
2023-02-06T11:15:04+00:00
X png:cHRM: chunk was found (see Chromaticity, above) png:bKGD: chunk
was found (see Background color, above)
X png:gAMA: gamma=0.45455 (See Gamma, above)
* png:IHDR.bit-depth-orig: 8
png:IHDR.bit-depth-orig: 8
* ...
* png:pHYs: x_res=11811, y_res=11811, units=1 png:pHYs:
x_res=11811, y_res=11811, units=1
X png:sRGB: intent=0 (Perceptual Intent) png:text: 1
tEXt/zTXt/iTXt chunks were found
X png:text-encoded
profiles: 1 were found
X png:tIME: 2011-05-26T07:38:30Z png:tIME:
2023-02-06T11:15:04Z
{noformat}
The question now becomes which mis-matched items are preventing processing.
> Some PNGs are rendered incorrectly (Regression 2.7 -> 2.8)
> ----------------------------------------------------------
>
> Key: XGC-134
> URL: https://issues.apache.org/jira/browse/XGC-134
> Project: XMLGraphicsCommons
> Issue Type: Bug
> Components: general
> Affects Versions: 2.8
> Environment: Java 17.0.5 (Adoptium Temurin) on Windows x64.
> Reporter: mt
> Priority: Critical
> Attachments: broken.txt, fixed.txt, xgc_2.7_correct-1.png,
> xgc_2.8_wrong-1.png
>
>
> After upgrading our application from FOP 2.7 to FOP 2.8 we noticed that some
> PNG files are not rendered correctly in the PDF. While I initially thought
> this was a problem in FOP, I can reproduce this with FOP 2.7 + XGC 2.8, so I
> guess it must be an issue in XGC 2.8 .
> Unfortunately I can't share the exact PNG file because it contains the logo
> of one our customers. When I try to modify the PNG in any way, I can't
> reproduce it anymore. I also couldn't find another PNG to reproduce this with.
> Basically the PNG is rendered 3 times horizontally and a black bar appears
> below the 3 images. I attached a comparison between XGC 2.7 and XGC 2.8 .
> These are (obviously modified) screenshots of the PDF generated by FOP.
> There were hardly any changes between XGC 2.7 and 2.8. Looks like this may be
> related to XGC-132 ?
> This is with Java 17.0.5 (Adoptium Temurin) on Windows x64.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]