cant get ICC profile 'Rename' script to work OS10.9
Hi List members Hoping you can help me. I like to change the internal name of an ICC profile to the file name using using the OS Rename script. script located in... Macintosh HD/Library/Scripts/Colorsync/Rename or via alais in the Macintosh HD/Library/Colorsync folder The Problem. OS 10.9 Rename script says it changed the internal name of the ICC profile.. but it hasn't. When I open the ICC profile with colorsync utility it tells me the internal description has not been changed. And photoshop sees the old name too. Version 4 profiles and version 2 profiles behave a little differently in when it comes to trying to renaming them in the color sync utility. I only have partial success renaming v2 profiles and no success at all renaming version 4 profiles with the colorsync utility in 10.9. I'd prefer to use the script if I can. Permissions? Thinking it may have been a write permission issue I copied a profile to the desktop. same behavior. set permissions on ICC profiles to wrx wrx wrx still no joy. OS10.7 ... working fine Moved the Profiles back to my Os 10.7 Workstation and Rename worked just fine there. opening with colorsync utility on 10.7 I could see that the internal name had been changed. moved these files back to our 10.9 workstations and the re-naming works just as I would have expected. Anyone else experiencing having issues with the rename script in OS10.9? Regards Peter Miles
On 26 Feb 2014, at 07:10, Peter Miles <P.Miles@massey.ac.nz> wrote:
Anyone else experiencing having issues with the rename script in OS10.9?
It looks as if sips *is* working in 10.9, but not doing what you’d expect Get description: sips -g description ~/Library/ColorSync/Profiles/iPad.icc => description: iPad.icc Write description: sips -s description "testDescription" ~/Library/ColorSync/Profiles/iPad.icc => ~/Library/ColorSync/Profiles/iPad.icc Get description: sips -g description ~/Library/ColorSync/Profiles/iPad.icc => description: testDescription Which all looks OK… apart from the original ‘desc’ tag is still iPad.icc ! sips is adding a new ‘dscm’ tag to the profile: ‘dscm’ ‘mluc’ Apple multi-localized description strings And then using this tag instead of ‘desc’ Editing the text in ColorSync Utility and saving might be a better option? -- Martin Orpen Idea Digital Imaging Ltd
Thanks Martin, thats helpful to know. So it looks like ICC profiles have TWO internal names 'desc' and 'dscm'. Because the script is changing the 'dscm' name but does not touch the 'desc' name these two names will be different from each other after using the script. Hmmm... I have noticed Photoshop CC and the OS appear to read different internal names from the same profile. Looks like the OS reads the internal 'dscm' name in the System Preferences / Display pane. But photoshop CC is reading the same profile and displaying the internal 'desc' name in View/Proof Setup / Custom... A bit confusing for me if those two names are different. PROBLEMS I am having problems renaming BOTH the 'dscn' and the 'desc' names with the colorsync utility. I can change one name, but not the other. Anyone else having problems changing BOTH the 'desc' and the 'dscm' names with the colorsync utility? Regards Peter Miles
From: Peter Miles
So it looks like ICC profiles have TWO internal names 'desc' and 'dscm'. Because the script is changing the 'dscm' name but does not touch the 'desc' name these two names will be different from each other after using the script.
Unfortunately Apple is only modifying their private dscm tag rather than the standard desc tag that all ICC-compliant applications use. I can't explain why Apple wanted the dscm tag; the standard desc allows tag fully supports multiple, localized Unicode strings.
Hmmm... I have noticed Photoshop CC and the OS appear to read different internal names from the same profile. Looks like the OS reads the internal 'dscm' name in the System Preferences / Display pane. But photoshop CC is reading the same profile and displaying the internal 'desc' name in View/Proof Setup / Custom... A bit confusing for me if those two names are different.
The only thing that comes to mind is that the ICC spec states that the 'desc' tag's " invariant description has no fixed relationship to the actual profile disk file name" (Section 6.4.33). With 10.9, OSX has difficulty locating some profiles if the contents of the 'desc' tag differs from the file name. That’s progress for you. Cheers, Ethan
participants (3)
-
Ethan Hansen
-
Martin Orpen
-
Peter Miles