>>>>> "DV" == David VanderBrooke <[EMAIL PROTECTED]> writes:

DV> I've tried various experiments with the image tag and have not had
DV> much success.  I can't find much documentation on supported
DV> features so hopefully, someone can help.  Using batik 1.0

DV> I would like to include the image in the svg via base64 encoding.
DV> The examples work for png but any pngs I generate don't work.
DV> I've taken the example base64 strings and placed them in my svg
DV> and it works.  I've used my Base 64 decoder to decode the examples
DV> and they make good png files.  My files do to work fine in the
DV> Adobe svg viewer.

DV> Are there certain kinds of pngs that work?

    It _should_ support any PNG, of course the proof is in the pudding.

DV> To base 64 encode I'm using the sun.misc encoder and encoding only
DV> the file contents.

DV> I tried various forms of tiff files as well, mime type tiff.  None
DV> worked, either by base 64 or referenced.

    This is strange, I have a fairly large collection of tiff image
variants and it reads the _vast_ majority of them.

DV> Gif files work if I reference them.  I didn't try base 64 encoding
DV> and including them.

    Do the PNG images work when referenced?  If so I would guess there
is something weird in your base64 encoding.

DV> What should work now or where can I look for documentation?

    The source?
    
    Probably your best bet is to send us a couple of small examples
(original images, and base64 versions) and we can see if we can
reproduce the problem or not.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to