Re: Decoding a jpg picture in a text/plain message
Posted By:
Simon_Ablett
Posted On:
Wednesday, October 10, 2001 02:46 AM
Julien,
I'm confused. Why are you being sent jpegs as text/plain mail messages? Maybe I have misunderstood the Mime encoding but I would have expected only to find straight ascii text in a message marked in this way. A jpeg image should be marked as image/jpeg.
Regards.
Re: Decoding a jpg picture in a text/plain message
Posted By:
John_Zukowski
Posted On:
Wednesday, September 26, 2001 08:35 PM
Not that this answers your question, but I've seen some utilities that do this for you already that happen to be written in Java. Wish I remember where I saw them....
Re: Decoding a jpg picture in a text/plain message
Posted By:
julien_lamarre
Posted On:
Tuesday, September 25, 2001 03:39 PM
I found the beginning of the solution if someone if interrested:
You have to include the line "begin xxx myPicture.jpg" in the string you are trying to decode. Including the "end" line is a good thing too i think.
Instead of "MimeUtility" i use "sun.misc.UUDecoder" and it works...
But now i have new problems, it's WAY too slow... But this is another story!