Dear Graeme,
Thank you for your reply and for ArgyllCMS!
The executables I am using are:
- the one from Ubuntu 16.04, x86_64 (amd64), within the "argyll" package
v1.8.3, see http://packages.ubuntu.com/xenial/amd64/argyll for details and
the source tarball that generated it;
- the Argyll binaries of v1.9.2, automatically downloaded with DisplayCAL
when executed, again for Ubuntu 16.04, x86_64.
I can try with the binaries from your websites tonight or tomorrow and send
updates shortly after.
As for the AdobeRGB1998.icc v4, I am not expert at all, and just assumed
that the file distributed withing colord would be meaningful. From
https://github.com/hughsie/colord/tree/master/data/profiles , I see that
they generate their icc files from xml descriptions. It is unclear to me
too, why they generate v4. I will send a message to their list presenting
the incompatibility you mention.
Thanks for pointing me to ref/ClayRGB1998.icm . I didn't know it was an
equivalent of AdobeRGB1998.icc.
Best,
Emanuele
On Mon, Feb 20, 2017 at 1:10 PM, Graeme Gill <graeme@xxxxxxxxxxxxx> wrote:
Emanuele Olivetti wrote:
Hi,
Today I found a bug, or at least an unexpected behavior. When runningcolprof and applying
gamut mapping ("-S AdobeRGB1998.icc"), I get "segmentation fault - coredumped" after a
few seconds of execution. The problem is the file AdobeRGB1998.iccwhich, according to
iccgamut, has "ICC v4" header, which is unsupported. Such icc file isdistributed with
colord - I have it installed in /usr/share/color/icc/colord/AdobeRGB1998.iccon Ubuntu
16.04.
Hmm. As far as I know, there is no such thing from Adobe, just the V2
profile.
ArgyllCMS provides a replacement for distribution too: ref/ClayRGB1998.icm
Given that the profile is a matrix profile, there is absolutely no point
whatsoever in it being V4, so it's kind of sad that such a thing is
being distributed with Linux, since it will just cause incompatibility
for no reason.
If I use the colord V4 AdobeRGB.icc this I get:
colprof -v -ql -S AdobeRGBV4.icc -cmt -dpp RGB_printer
No total ink limit being used
No black ink limit being used
No of test patches = 1026
Estimating white point
Approximate White point XYZ = 0.84652658 0.88045699 0.85040867, Lab =
95.180179 -0.454397
-10.35025
Creating optimised per channel curves
Initial White Point XYZ 0.846527 0.880457 0.850409, Lab 95.180179
-0.454397 -10.350259
About to optimise temporary matrix
100%
About to optimise a common ord 0 input curve and matrix
100%
About to optimise a common input curve and matrix
100%
About to optimise input curves and matrix
100%
About to optimise output curves and matrix
100%
About to optimise input curves and matrix again
100%
About to optimise input, matrix and output together
100%
About to adjust a and b output curves for white point
About to create grid position input curves
Create final clut from scattered data
*********************************
Doing White point fine tune:
Before fine tune, rel WP = XYZ 0.963526 0.999140 0.824464, Lab 99.966723
0.026339 -0.021724
After fine tune, rel WP = XYZ 0.964203 1.000000 0.824905, Lab 100.000000
0.000000 -0.000000
abs WP = XYZ 0.84593746 0.87970042 0.84995627, Lab
95.148325 -0.428181
-10.369347
Creating fast inverse input lookups
White point XYZ = 0.84593746 0.87970042 0.84995627, Lab = 95.148325
-0.428181 -10.369347
Find black point
Black point XYZ = 0.00543442 0.00625735 0.00549936, Lab = 5.652242
-2.418538 -0.637459
Done A to B table creation
Setting up B to A table lookup
colprof: Error - Can't open file 'AdobeRGBV4.icc'
so I'm at a loss to know why you got a crash. Was this with an executable
from
the ArgyllCMS website, or was it built by someone else ?
Graeme Gill.