TIP: Click on subject to list as thread! ANSI
echo: os2user-l
to: All
from: Mike O`Connor
date: 2004-09-29 02:02:12
subject: Re: JFIF comment blocks

Phil Parker wrote:

>On 09/29/2004 at 03:29 PM, "Mike O'Connor"
 wrote: >Phil Parker wrote:
>
>>>On 09/29/2004 at 02:39 PM, "Mike O'Connor"
 wrote: >Phil Parker wrote:
>>>
>>>>>Is there any native OS/2 tool that would let me
add/edit these in JPEGs?
>>>>>
>>>>Hexedit .exe from the Graham utilities for one!
>>>>
>>>So, any hex editor, right? Unfortunately, that requires more
knowledge of JPEG internals (formats/offsets, whatevers) than I know.
>>>
>>>How would I find the JFIF comment block? Is it in a standard
place in a JPEG file? Is it a fixed size or variable? If variable, how do I
go about enlarging it/shrinking it? My experience with editing binaries is
VERY limited, but has taught me about problems from changing the overall
byte count etc.
>>>
>>>If I have several hundred such JPEGs to be edited similarly
(add the contents of a 7-bit ASCII text file to the JFIF comment block),
can this be automated via a command-line script of some sort?
>>>
>>>Is that the sort of job that those famous unixish tools (sed,
(g)awk, perl, et al.) handle well?
>>>
>>>All suggestions, comments, etc. gratefully accepted, and offers
of help even more gratefully accepted. (I don't mind learning, but usually
need help.)
>>>
>>Hi Phil,
>>I'm a little confused here - where do you get to see
"comments" with a  JPEG? Is this inside some graphics program?
>>    
>>
>
>Yes. According to P. Nielsen, his PMView will show the contents of a JPEG's
>standard JFIF comment block (if any, max 64 KB) as part of the results one
>gets from File -> Info, but does not have any capability for editing such.
>
>The idea is to be able to read the captions to the hundreds of astronomical
>images I have from inside PMView, so that I don't have to go hunting
down the separate text files where these captions are now stored, opening
them
>separately in another app, etc.
>
>>Are these the EA-comments you are talking about? 
>>    
>>
>
>No. I tried adding some as a test, but could find no way to read them
inside PMView. 
>
>When I asked on the pmview-discuss list, the solution was to put my
captions (typically 2-3 KB) in a standard JFIF comment block.
Unfortunately, no one there knew of any OS/2 native tools to do that.
(There are of course several Win$#!% ones, but I've never had a Win$#!%
system and would rather not get one now.
>  
>

Hi Phil,
Well it was just a thought!
I've never used the FILE --> Info facility in PMView as most of the 
images I use it with I've created myself, so I've never noticed whether 
any of the jpegs I have do have any comments.
[See the other list for response on labels]

-- 
Regards,
Mike

Failed the exam for
--------------------
MCSE - Minesweeper Consultant and Solitaire Expert
--------------------
[ISP blocks *.exe, *.cmd, *.bat, *.reg attachments]
[Please use zipped versions of above]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/E8folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

 To visit your group on the web, go to:
    http://groups.yahoo.com/group/os2user/

 To unsubscribe from this group, send an email to:
    os2user-unsubscribe{at}yahoogroups.com

 Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)
SEEN-BY: 633/267 270
@PATH: 3634/1000 12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.