Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
1.7
-
None
-
None
-
Operating System: Linux
Platform: PC
Description
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.