Thread View: adobe.photoshop.scripting
5 messages
5 total messages
Started by Luis_Morcillo
Tue, 24 Mar 2009 08:54
Can I save several JPG files as metadata using XMP in CS4?
Author: Luis_Morcillo
Date: Tue, 24 Mar 2009 08:54
Date: Tue, 24 Mar 2009 08:54
7 lines
1235 bytes
1235 bytes
Hello again. I'd like to save different thumbnails of the same file as metadata. My current plugin saves some info about the layers (like "sessions"): enabled/disabled, opacity, text (if it is a text layer), etc. Thus, when I open a PSD template and I want to use only some layers and change some texts of text layers, I read the "sessions" metadata, select the one I need and start working. Now I'd like to add another feature: a 200x200px thumbnail for each session, si I can preview what the PSD will look like when I load a session. Is it possible to store JPG (or PNG, or anything) files as a PSD metadata? Thank you very much in advance :)
Re: Can I save several JPG files as metadata using XMP in CS4?
Author: Luis_Morcillo
Date: Tue, 31 Mar 2009 09:31
Date: Tue, 31 Mar 2009 09:31
1 lines
640 bytes
640 bytes
No way then?
Re: Can I save several JPG files as metadata using XMP in CS4?
Author: xbytor
Date: Tue, 31 Mar 2009 10:34
Date: Tue, 31 Mar 2009 10:34
9 lines
1104 bytes
1104 bytes
In theory, you can put whatever you want in the XMP. In practice, you would have to encode the thumbnails for CDATA blocks and your applications/scripts would have to have prior knowledge that about the names of these XMP fields and their format. If it's only your plugin that's reading and writing these thumbnails, you may be able to do all of this. -X
Re: Can I save several JPG files as metadata using XMP in CS4?
Author: Luis_Morcillo
Date: Fri, 03 Apr 2009 07:09
Date: Fri, 03 Apr 2009 07:09
1 lines
810 bytes
810 bytes
Thanks xbytor, but I've searched in XMP Specification and Photoshop CS4 Scripting Guide and can't find anything about CDATA encoding. Is there any document I can read to try that? Thanks beforehand :)
Re: Can I save several JPG files as metadata using XMP in CS4?
Author: xbytor
Date: Fri, 03 Apr 2009 15:36
Date: Fri, 03 Apr 2009 15:36
6 lines
1140 bytes
1140 bytes
Luis_Morcillo@adobeforums.com wrote: > Thanks xbytor, but I've searched in XMP Specification and Photoshop CS4 Scripting Guide and can't find anything about CDATA encoding. Is there any document I can read to try that? Thanks beforehand :) CDATA is just a way of encoding arbitrary binary data (like a thumbnail) in an XML document. You can find specifics in any basic XML reference guide online or in hardcopy.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads