https://issues.apache.org/bugzilla/show_bug.cgi?id=47555

           Summary: Bottom part of files transparent at small sizes
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Rasterizer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=24016)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24016)
testcase mentioned in the bug report

Just as the title says, sometimes when rasterising an SVG file at small sizes,
the bottom row of the raster image appears completely transparent.

Let's take for example the following file:

<svg xmlns="http://www.w3.org/2000/svg"; height="10" width="19">
<rect width="19" height="10" fill="lime"/>
</svg>

Obviously, this image is fully green (ff0000), and so should be any
rasterisation of this image. However, when rasterising it with Batik at a width
of 22px (rasterizer -w 22 -m image/png file.svg), all pizels on the bottom row
of the resulting PNG file are completely transparent.
Needless to say, this behaviour makes it difficult to align images properly or
put a border around one, as MediaWiki does.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to