We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the input for the imageColorSyncProfileData could also be a .icc file next to an NSData object.
imageColorSyncProfileData
.icc
Creating a NSData object does feel very drawBotisch or pythonesk.
Creating a NSData object on the fly seems hard... see the spec for an .icc file http://www.color.org/specification/ICC1v43_2010-12.pdf
example .icc file
import AppKit fill(1, 0, 0) rect(20, 20, width()-40, height()-40) data = AppKit.NSData.dataWithContentsOfFile_('path/to/AppleRGB.icc') saveImage("test.tiff", imageColorSyncProfileData=data)
so a proposal: saveImage("test.tiff", imageColorSyncProfileData='path/to/AppleRGB.icc')
saveImage("test.tiff", imageColorSyncProfileData='path/to/AppleRGB.icc')
discussion started here
The text was updated successfully, but these errors were encountered:
I agree nsdata is clumsy, but can a color profile influence the number of output color channels?
Never mind, I didn't read the original question properly.
Sorry, something went wrong.
nsdata is indd clumsy ;)
No branches or pull requests
the input for the
imageColorSyncProfileData
could also be a.icc
file next to an NSData object.Creating a NSData object does feel very drawBotisch or pythonesk.
Creating a NSData object on the fly seems hard... see the spec for an .icc file http://www.color.org/specification/ICC1v43_2010-12.pdf
example .icc file
so a proposal:
saveImage("test.tiff", imageColorSyncProfileData='path/to/AppleRGB.icc')
discussion started here
The text was updated successfully, but these errors were encountered: