Reading/writing JPEG comments

Juan Manuel Vuletich jmvuletich at sinectis.com.ar
Sat Jan 5 18:32:29 UTC 2002


Hi Joshua,

Besides needing ths JPEG standard to allow your data, you also need
LibJPEG to be able to handle it. I did a quick search in the LibJPEG
docs and didn't find anything. Perhaps you could read them in more
detail.

BTW, your idea is great!

Regards,

Joshua 'Schwa' Gargus wrote:
> 
> Hi,
> 
> I was browsing through the new JPEG code, and didn't immediately see a
> way to embed comments or other arbitrary data within a JPEG.  I believe
> that the standard supports this; before I dig deeper, I hope someone
> can give me a quick answer.
> 
> The reason I want to do this is to embed a serialized and compressed
> morph (such as you'd find in a .morph.gz file) inside a JPEG that
> looks like the morph.  My goal is to integrate a simple drawing tool
> into a Swiki that can edit a compound morph, and then generate a
> JPEG to be displayed in an HTML page.  If someone want to re-edit
> the JPEG, the morph stored in the "arbitrary data area" is opened
> in the browser plugin.
> 
> Thanks,
> Joshua

-- 
                   Juan Manuel Vuletich
                jmvuletich at sinectis.com.ar
     Español: http://www.sinectis.com.ar/u/jmvuletich
English: http://www.sinectis.com.ar/u/jmvuletich/studio.html





More information about the Squeak-dev mailing list