|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
iptcembed - weird problem
I'm experimenting with the iptcparse and iptcembed functions, but with the embedding something goes wrong
I have an image and in Photoshop 7 I embed soms file info (copyright, source, ...) I use the iptcembed function to edit this info, so every item is set to "test." A fterwards I use the iptcparse function to read the info : it displays the correct, every item has been set to "test". But when I download the image and I read the manipulated file info in Photoshop, it displays the old date. Even if I use the IPTC class (http://phpdorks.net/docs/api/pear/Image/Image_IPTC.html#class_details) it doesn't work in Photoshop (7 or CS) Anyone an idea? |
|
#2
|
|||
|
|||
|
RE: iptcembed - weird problem
which block are you reading/writing to? i believe 13 is the most widely used..
|
|
#3
|
|||
|
|||
|
RE: iptcembed - weird problem
Yes, I use block 13. Sorry for posting anonymously, my mistake.
you can view the code on : http://www.multimedium.be/ben/iptc_test.phps Thanks in advance! |
|
#4
|
|||
|
|||
|
RE: iptcembed - weird problem
i think your code is messed up.. there's no starting php tag and everything is in a big un-formatted chunk
|
|
#5
|
|||
|
|||
|
RE: iptcembed - weird problem
I see the code fine...and it works fine...
I think the problem is with Photoshop, not your code. You see, photoshop stores the IPTC data within its own APP13 markers. The meta-data that you are seeing in photoshop is not the IPTC data, but meta-data that is photoshop specific. If you use any other IPTC viewing utility you will see that the tags have been changed properly.... |
|
#6
|
|||
|
|||
|
RE: iptcembed - weird problem
Thanks a lot, this explains why I don't see the changed IPTC data in Photoshop.
Finally my mysterious problem solved! |
|
#7
|
|||
|
|||
|
RE: iptcembed - weird problem
Euhm, I still have one little question. Is there a possibility to erase the photoshop-specific metadata? Or how can I manipulate this data, so the user eventually will see the php-generated iptc data in photoshop?
|
|
#8
|
|||
|
|||
|
RE: iptcembed - weird problem
You should be able to modify the data, but I don't know the specifics on how it is stored. I believe there is a SDK for photoshop you can download from adobe's web site that explains how the data is stored.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > iptcembed - weird problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|