This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > August 2006 > add APP3 marker to jpg/jpeg file
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
add APP3 marker to jpg/jpeg file
|
|
| Victor Reijs 2006-08-10, 6:47 pm |
| Hello all of you,
I am looking for a script where I can add (and edit) the APP3 marker
according to jps format.
The setup of the APP3 marker I am looking for is here:
http://www.vrex.com/developer/sterdesc.pdf
In some way I want to put in the APP3 marker the following:
"_JPSJPS_<bh:00><bh:04><bh:00><bh:04><bh:02><bh:01><bh:00><bh:0D>
VR added left"
Thanks for your help. But any help in incorporating a new APP marker can
be handy for getting the idea.
All the best,
Victor
| |
| Fred Hiltz 2006-08-10, 10:51 pm |
| Victor Reijs wrote:
> Hello all of you,
>
> I am looking for a script where I can add (and edit) the APP3
> marker
> according to jps format.
> The setup of the APP3 marker I am looking for is here:
> http://www.vrex.com/developer/sterdesc.pdf
>
> In some way I want to put in the APP3 marker the following:
> "_JPSJPS_<bh:00><bh:04><bh:00><bh:04><bh:02><bh:01><bh:00><bh:0D>
> VR added left"
>
> Thanks for your help. But any help in incorporating a new APP
> marker
> can be handy for getting the idea.
Not with PSP scripting, I'm afraid. The scripting language automates
the operations that PSP performs on images, which do not include
editing the EXIF parts of a JFIF file.
That said, the PSP scripting language is Python, which is a capable
general-purpose programming language in which you could implement
the sterdesc specification. One could open, read, parse, and modify
the JFIF file in Python without reference to the Paint Shop Pro API.
Before re-inventing the wheel, however, I'd contact the author of
the spec to see whether anyone has written a library of functions to
deal with it.
--
Fred Hiltz, fhiltz at yahoo dot com
| |
| Victor Reijs 2006-08-11, 4:43 am |
| Fred Hiltz wrote:
> Not with PSP scripting, I'm afraid. The scripting language automates
> the operations that PSP performs on images, which do not include
> editing the EXIF parts of a JFIF file.
Understand.
> That said, the PSP scripting language is Python, which is a capable
> general-purpose programming language in which you could implement
> the sterdesc specification. One could open, read, parse, and modify
> the JFIF file in Python without reference to the Paint Shop Pro API.
> Before re-inventing the wheel, however, I'd contact the author of
> the spec to see whether anyone has written a library of functions to
> deal with it.
I did that, they don't react. There is a program fixjps.exe made by them
them some many years ago. The problem is that that program has one bit
different then I need. I tried disassembling, but I can't find where
this bit is set.
So there is something, but I can't change...
I am also asking other fora indeed (including Python/PIL related fora),
I don't want to re-invent the wheel, but it seems I have to rebuild the
wheel in some way;-)
So any program that can this setting of the APP3 marker is welcome, or
someone who can understand DOS and disassembler...
Thanks for the feedback.
All the best,
Victor
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|