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

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?
Are these the EA-comments you are talking about? 
That individually you could add by going to the files properties - 
FILE-TAB, and keying/pasting them in?

If so you can automate that process from a script.

-- 
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™.