Cannot export values ColorMode or ICCProfile
I had good luck exporting the metadata of files with JavaSCript so far, but there are two properties that return 'undefined '; Photoshop:ColorMode and photoshop:ICCProfile.
Other properties photoshop export just fine, but nothing I tried works for these two. I thought it might be because they are "internal" properties, but I am able to export other "internal", such as exif xResolution properties.
var cm = xmpData.getProperty (XMPConst.NS_PHOTOSHOP, 'ColorMode');
If (cm! == undefined) {}
dataExport.write ("\t" + cm);
}
else {}
dataExport.write ('\t');
var icc = xmpData.getProperty (XMPConst.NS_PHOTOSHOP, "ICCProfile");
If (icc! == undefined) {}
dataExport.write ("\t" + ICC);
}
else {}
dataExport.write ('\t');
}
Thank you
Greg Reser
Hi Greg, please try these...
var cm= xmpData.getProperty (XMPConst.NS_PHOTOSHOP, "ColorMode").toString(); var icc= xmpData.getProperty (XMPConst.NS_PHOTOSHOP, "ICCProfile").toString();
Tags: Bridge
Similar Questions
Maybe you are looking for
-
Need display driver for Equium A60
I have a laptop equium ea60-155 and I get a blue screen saying that plays my display driver to come up. does anyone know which ati driver I should replace my current with?Thank you
-
I deleted some iWork apps on my mac before. Now that I want back them, they charge me money. Is it possible to recover them free of charge?
-
Allow a program to run in Standard user
Hi all I have a problem, as stated above. I have currently the program has installed in an administrator account and I would like another user who is a Standard user in the computer to use the program without entering the administrator password to ru
-
NET is not supported by all versions of IOS?
Hi guys,. I've got 2 routers, one is a 878 with a lvl IOS 12.4 (15) T4 RE and the second is a 1760 with a lvl 12.3(6b) IOS. Even if Cisco documents are tellin me the two device supports the Net flow, I had trouble with my system. I had a doubt on my
-
Windows 7 drivers for HP Pavilion 500-120ea desktop PC
not downgraded Windows 8 for windows 7 any driver chipset for desktop HP Pavilion 500-120ea so front usb ports do not work