You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/05/22 01:18:34 UTC
[Bug 53268] New: WMFPainter doesn't paint 4-bit bitmaps
https://issues.apache.org/bugzilla/show_bug.cgi?id=53268
Priority: P2
Bug ID: 53268
Assignee: batik-dev@xmlgraphics.apache.org
Summary: WMFPainter doesn't paint 4-bit bitmaps
Severity: normal
Classification: Unclassified
OS: Mac OS X 10.4
Reporter: trejkaz@trypticon.org
Hardware: PC
Status: NEW
Version: 1.8
Component: Utilities
Product: Batik
We were sent a WMF image which Batik's WMF painter paints as all black. It
turns out it was a trivial WMF with just a single 4-bit bitmap in it. Batik
doesn't support 4-bit bitmaps yet, but interestingly did not throw an error for
the unsupported image either.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
[Bug 53268] WMFPainter doesn't paint 4-bit bitmaps
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53268
Trejkaz (pen name) <tr...@trypticon.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
[Bug 53268] WMFPainter doesn't paint 4-bit bitmaps
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53268
--- Comment #1 from Trejkaz (pen name) <tr...@trypticon.org> ---
Created attachment 28811
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28811&action=edit
proposed patch
Something I hacked together which works for the only sample we have been sent.
Should be checked carefully. I think the padding maths is right (I checked for
the example we got, and at the end of the loop, the offset is exactly equal to
the length of the bit array.)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org