users@jaxb.java.net

RE: Image as Base64

From: Markus Karg <karg_at_quipsy.de>
Date: Mon, 21 Mar 2011 14:13:59 +0100

Wolfgang,

 

maybe I am blind, but where on that page does it say that *any* Image (possibly PNGs) will be transferred as JPGs?

 

Regards

Markus

 

From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
Sent: Montag, 21. März 2011 14:08
To: users_at_jaxb.java.net
Subject: Re: Image as Base64

 

See the text (and image!) on http://jaxb.java.net/tutorial/section_2_2_17-Image-Data.html#Image%20Data

If it has a mime type it should be representable, Java processing being available.

-W

On 21 March 2011 13:49, Markus Karg <karg_at_quipsy.de> wrote:

I just noticed that JAXB is able to deal with java.awt.Image. Looks like it uses Base64 to inline it. But I wonder what the transferred bytes actuall do present: The raw data of the BufferedImage, or a common file format like JPG, PNG, GIF. etc. (which one)?

 

Thanks

Markus