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
Since 1297f2c incompatible source profiles do not seem to be ignored anymore:
Before 1297f2c:
$ vips icc_transform --input-profile=sRGB.icm test.jpg bef.jpg sRGB.icm (vips:9111): VIPS-WARNING **: 10:55:58.075: profile incompatible with image
Current master (17ca29a):
$ vips icc_transform --input-profile=sRGB.icm test.jpg now.jpg sRGB.icm
sRGB.icm test.jpg
$ vipsheader test.jpg test.jpg: 640x426 uchar, 4 bands, cmyk, jpegload
The text was updated successfully, but these errors were encountered:
block use of RGB profiles with CMYK images
3d29daf
Detect and block a common error. See #3139
Hi Daniel,
I added a test for this specific case, but I don't think we can do the general test we used to have :( Thanks for the report!
BTW you could write:
$ vips icc_transform --input-profile=sRGB.icm test.jpg bef.jpg sRGB.icm
As:
$ vips icc_transform --input-profile=srgb test.jpg bef.jpg srgb
Since you can use the libvips built in profile names anywhere you use a profile filename. master has p3 and cmyk as built in profiles as well.
p3
cmyk
Sorry, something went wrong.
No branches or pull requests
Since 1297f2c incompatible source profiles do not seem to be ignored anymore:
Before 1297f2c:
Current master (17ca29a):
sRGB.icm
test.jpg
The text was updated successfully, but these errors were encountered: