Search found 15 matches

by datro
2018-01-31T20:15:01-07:00
Forum: Bugs
Topic: -clone converts grayscale image to sRGB
Replies: 5
Views: 7293

Re: -clone converts grayscale image to sRGB

OK, try this (IM 7.0.7-22 Q16 HDRI) on Windows 10: This fails: magick input.tif -write input.icc ^ -profile Gray-elle-V2-g10.icc -distort Resize 500 ^ ( -clone 0 -gamma 3 -gamma 0.33333 ) ( -clone 0 ) -delete 0 ( -clone 1 ) -compose over -composite ^ -profile input.icc output.tif Result: magick ...
by datro
2018-01-31T15:59:52-07:00
Forum: Bugs
Topic: -clone converts grayscale image to sRGB
Replies: 5
Views: 7293

Re: -clone converts grayscale image to sRGB

For anyone following this bug:
There have been a number of additional updates to the linked thread above which include important new information.
by datro
2018-01-31T15:57:15-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

Re: IM gives profile error when doing composite

Taking a deep breath here...this problem is getting more complex, but I still think there is a bug. After additional testing, I can report the following (using more concise and informative scripts). Case 1 (Resize included, but no processing on the clones) This WORKS: magick -quiet input.tif ...
by datro
2018-01-30T21:08:04-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

Re: IM gives profile error when doing composite

I added +writes on each of the cloning steps to see what is output from each cloning step. When I look at the first cloned image, ... I'm not sure what you mean. Did the "+write" create a file that you then examined? Or did you "+write info:"? Each write created a differently-named "intermediate ...
by datro
2018-01-30T18:40:22-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

Re: IM gives profile error when doing composite

Fred, Thanks for your testing and further information. Please see my last post on this thread (before this one) for more information in case you didn't see it. I still think it is a -clone issue, because when I did a -verbose listing of info from each tmp file that I created on each step I can see ...
by datro
2018-01-30T16:04:21-07:00
Forum: Bugs
Topic: -clone converts grayscale image to sRGB
Replies: 5
Views: 7293

-clone converts grayscale image to sRGB

Please see the following thread for all the details:

viewtopic.php?f=1&t=33440
by datro
2018-01-30T15:58:27-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

Re: IM gives profile error when doing composite

Important Update: After some further testing, I now see that the problem lies with the cloning, not specifically with the later "-profile". I added +writes on each of the cloning steps to see what is output from each cloning step. When I look at the first cloned image, IT HAS BEEN CONVERTED TO ...
by datro
2018-01-30T12:47:21-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

Re: IM gives profile error when doing composite

OK, the following should provide more specific information about where the error is occurring. In a nutshell, the error occurs on the "-profile embedded.icc" which is converting back to the original non-linear gray space. I have provided the necessary files and three simple Windows batch test ...
by datro
2018-01-30T07:04:35-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

Re: IM gives profile error when doing composite

As indicated above, the error is:
magick: color profile operates on another colorspace `icc' @ error/profile.c/ProfileImage/1018.

Magick aborts at this point and the output file is not created.

Thanks,
Dave
by datro
2018-01-29T21:11:59-07:00
Forum: Users
Topic: IM gives profile error when doing composite
Replies: 14
Views: 9669

IM gives profile error when doing composite

ImageMagick 7.0.7-22 Q16 HDRI x64 on Windows 10 64-bit IM is giving me the following error in my Windows batch script: magick: color profile operates on another colorspace `icc' @ error/profile.c/ProfileImage/1018. when I do the following sequence of processing on a 16-bit grayscale TIFF image which ...
by datro
2018-01-24T07:19:49-07:00
Forum: Users
Topic: -colorspace removes ICC profile in Gray TIFF output file
Replies: 11
Views: 7419

Re: -colorspace removes ICC profile in Gray TIFF output file

Previously profiles were applied as 16 bit integers, its faster and more efficient, but is not useful to HDRI because it includes a quantization step. We now apply color profile transforms as floating point pixels which supports out-of-band pixel values such as negative values as required for ...
by datro
2018-01-23T21:09:58-07:00
Forum: Users
Topic: -colorspace removes ICC profile in Gray TIFF output file
Replies: 11
Views: 7419

Re: -colorspace removes ICC profile in Gray TIFF output file

Profile have been improved in Imagemagick for higher precision recently. 2017-11-12 7.0.7-12 Cristy <quetzlzacatenango@image...> Support HDRI color profile management. It is not clear to me what is meant by "Support HDRI color profile management." Does it mean: - The HDRI versions of IM now have ...
by datro
2018-01-23T15:34:11-07:00
Forum: Users
Topic: -colorspace removes ICC profile in Gray TIFF output file
Replies: 11
Views: 7419

Re: -colorspace removes ICC profile in Gray TIFF output file

OK, thanks. Using "-profile" sounds like a solution, though I sill wonder why the "-colorspace" round-trip removes the profile. Also doing profile conversions makes me a bit nervous since I believe there is potential loss of accuracy in the round-trip. These images are ultimately being printed as ...
by datro
2018-01-22T17:06:45-07:00
Forum: Users
Topic: -colorspace removes ICC profile in Gray TIFF output file
Replies: 11
Views: 7419

-colorspace removes ICC profile in Gray TIFF output file

IM 7.0.7-19 Q16 x64 Windows 10 64-bit machine I am resizing Gray TIFF files in a Windows batch file. Relevant input file properties BEFORE any processing: magick identify -verbose -quiet test.tif ... Format: TIFF Colorspace: Gray Type: Grayscale Gamma: 0.454545 Properties: icc:copyright: Copyright ...
by datro
2018-01-16T20:59:18-07:00
Forum: Users
Topic: Resizing a Gray TIFF file - conversion to linear colorspace required?
Replies: 2
Views: 2941

Resizing a Gray TIFF file - conversion to linear colorspace required?

New IM user and first post. IM 7.0.7-19 Q16 x64 on a Windows 10 64-bit machine I'm building a Windows batch script to handle downsizing of high resolution B&W TIFF files (originally produced on my drum scanner). The source files are TIFF, 16-bit, in Gray Gamma 2.2 colorspace. Output files will have ...