[ 
https://issues.apache.org/jira/browse/PDFBOX-5547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638384#comment-17638384
 ] 

Tilman Hausherr commented on PDFBOX-5547:
-----------------------------------------

Some debug output from the Patty file:

good:
paint: org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint@758520fd
renderedPaint: BufferedImage@6230aa3a: type = 2 DirectColorModel: rmask=ff0000 
gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 432 height 
= 576 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0
mask: BufferedImage@335d5280: type = 10 ColorModel: #pixelBits = 8 
numComponents = 1 color space = java.awt.color.ICC_ColorSpace@6f0bcfd4 
transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: 
width = 646 height = 761 #numDataElements 1 dataOff[0] = 0
renderedMask: BufferedImage@478a0bb0: type = 1 DirectColorModel: rmask=ff0000 
gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 432 height = 576 
#Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0


bad:
paint: org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint@1af4031b
renderedPaint: BufferedImage@69ed6315: type = 2 DirectColorModel: rmask=ff0000 
gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 267 height 
= 267 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0
mask: BufferedImage@53bb49e8: type = 10 ColorModel: #pixelBits = 8 
numComponents = 1 color space = java.awt.color.ICC_ColorSpace@2448509a 
transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: 
width = 646 height = 761 #numDataElements 1 dataOff[0] = 0
renderedMask: BufferedImage@25ba0404: type = 1 DirectColorModel: rmask=ff0000 
gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 267 height = 267 
#Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0

I won't work on the other file; the only important thing for now is that the 
paint is different

bad:

paint: org.apache.pdfbox.rendering.TilingPaint@755daf78
renderedPaint: BufferedImage@1ec0e3eb: type = 2 DirectColorModel: rmask=ff0000 
gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 267 height 
= 15 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0
mask: BufferedImage@7f4dbd60: type = 10 ColorModel: #pixelBits = 8 
numComponents = 1 color space = java.awt.color.ICC_ColorSpace@2448509a 
transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: 
width = 1654 height = 39 #numDataElements 1 dataOff[0] = 0
renderedMask: BufferedImage@7d4389a9: type = 1 DirectColorModel: rmask=ff0000 
gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 267 height = 15 
#Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0

> Wrong rectangle in image with stencil
> -------------------------------------
>
>                 Key: PDFBOX-5547
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5547
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Priority: Minor
>         Attachments: PATTYP2.pdf-1.png, PATTYP2.pdf-1.png-diff.png, 
> PDFBOX-5403-p1.pdf-1.png, PDFBOX-5403-p1.pdf-1.png-diff.png
>
>
> This is to track my efforts on a bug that has happened for years, but not 
> very often, in my rendering regression tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to