xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pe...@gresham-forms.co.uk
Subject RE: FW: Embedded JPEG prints as a black rectangle on an Astro-Med pri nter
Date Wed, 15 Sep 2004 12:52:09 GMT
Hi Thomas,
Yes I noticed SVGOMImageElement's attributeInitializer code change when I
looked into where the onRequest attribute value had come from.

You are right that the old bug had nothing to do with the problem.

Happily there is a fix for my problem.
I used threshold in PaintShop to make sure that the JPEG has only pixels of
pure black and pure white.
It then works a treat.

Case closed I think.


-----Original Message-----
From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com]
Sent: 15 September 2004 13:05
To: Batik Users
Cc: chris@w3.org
Subject: Re: FW: Embedded JPEG prints as a black rectangle on an
Astro-Med pri nter

pegan@gresham-forms.co.uk wrote:

> I did not explicitly set xlink:actuate attribute to onRequest, or 
> anything for that matter and I think the attribute value is defaulted to 
> onRequest in the DTD (and thus the SVG DOM implementation).
> I will look into setting this attribute to onLoad as you suggest.

    This was a bug in the Batik DOM implementation, it is fixed in
current CVS.  It also likely has nothing to do with the problem.

> The answer to my problem is more likely to be in the JPEG itself, 
> indeed, what I thought was a pure black and pure white JPEG turned out 
> to have other than rgb(0,0,0) and rgb(255,255,255).

    I suspect the real issue has to do with the ColorModel the printer
uses with Java.  This has been on occasion a bit of a sticky wicket
for us,  unfortunately without access to the printer there isn't much 
I can do.

    You could try using CVS Batik as I recently made a minor change
that could possibly improve your results here.

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

Important - This e-mail and the information that it contains may be
confidential, legally privileged and protected by law.  Access by the
intended recipient only is authorised.  Any liability (in negligence or
otherwise) arising from any third party acting, or refraining from acting,
on any information contained in this e-mail is hereby excluded.  If you are
not the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or store
or copy the information in any medium.  Copyright in this e-mail and
attachments created by us belongs to STR Gresham Business Forms Ltd the
also asserts the right to be identified as such and object to any misuse.

View raw message