Re: tcllib jpeg package and JPEG comments ...
- From: Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx>
- Date: Tue, 29 May 2007 20:04:08 +0200
MartinLemburg@UGS wrote:
Hello again,
I went now experimenting the other way, writing comments with the jpeg
package like this:
% package require jpeg
0.3
% puts '[jpeg::getComments $fileName]'
''
% jpeg::addComment $fileName "abc"
% jpeg::addComment $fileName "def"
% puts '[jpeg::getComments $fileName]'
'abc def'
Then I opened the JPEG file with IrfanView, saved the non-changed
comment and reread the comment inside the tcl shell:
% puts '[jpeg::getComments $fileName]'
def } def'
% puts '[string map {"\r" "\n"} [jpeg::getComments $fileName]]'
'{abc
def } def'
% scan [string index [lindex [jpeg::getComments $fileName] 0] end]
%c
0
I know, that IrfanView may handle the comments in a wrong way, but
currently I don't have any other bitmap application allowing to view
or to change the JPEG comments!
Can somebody help?
What platform? unix/cygwin:
you can try with rd|wrjpegcom from the jpeg package
---> http://www.ijg.org/files/
xv can display the comments as well.
---> http://www.trilon.com/xv/
this might be of interest:
http://netzreport.googlepages.com/hidden_data_in_jpeg_files.html
uwe
.
- Follow-Ups:
- Re: tcllib jpeg package and JPEG comments ...
- From: MartinLemburg@UGS
- Re: tcllib jpeg package and JPEG comments ...
- References:
- tcllib jpeg package and JPEG comments ...
- From: MartinLemburg@UGS
- Re: tcllib jpeg package and JPEG comments ...
- From: MartinLemburg@UGS
- tcllib jpeg package and JPEG comments ...
- Prev by Date: Re: tcllib jpeg package and JPEG comments ...
- Next by Date: Re: utter newbie expect question
- Previous by thread: Re: tcllib jpeg package and JPEG comments ...
- Next by thread: Re: tcllib jpeg package and JPEG comments ...
- Index(es):
Relevant Pages
|