PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old December 9th, 2003, 12:27 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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?

Reply With Quote
  #2  
Old December 9th, 2003, 02:43 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: iptcembed - weird problem

which block are you reading/writing to? i believe 13 is the most widely used..

Reply With Quote
  #3  
Old December 15th, 2003, 01:37 PM
Geradeaus Geradeaus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Belgium
Posts: 10 Geradeaus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #4  
Old December 15th, 2003, 03:28 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
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

Reply With Quote
  #5  
Old December 15th, 2003, 04:15 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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....

Reply With Quote
  #6  
Old December 16th, 2003, 06:48 PM
Geradeaus Geradeaus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Belgium
Posts: 10 Geradeaus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #7  
Old December 16th, 2003, 06:58 PM
Geradeaus Geradeaus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Belgium
Posts: 10 Geradeaus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #8  
Old December 16th, 2003, 08:05 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > iptcembed - weird problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway