Search found 111 matches

by Dabrosny
2017-08-24T20:48:05-07:00
Forum: Bugs
Topic: [Proposed docs for "-intensity" now in thread for approval.] When converting a grayscale image to color...
Replies: 44
Views: 43995

Re: When converting a grayscale image to color: result differs depending on -intensity setting: rec*luma vs. rec*luminan

I don't know why you have the "-intensity" setting in your command. What do you want it to do? I just want to manipulate both linear and nonlinear grayscale images, so I need to know the basics of how IM decides whether a given grayscale image contains linear or nonlinear values! I believ...
by Dabrosny
2017-08-22T06:40:38-07:00
Forum: Bugs
Topic: [Proposed docs for "-intensity" now in thread for approval.] When converting a grayscale image to color...
Replies: 44
Views: 43995

Re: When converting a grayscale image to color: result differs depending on -intensity setting: rec*luma vs. rec*luminan

Your first and third images don't show for me. You don't say how you made the first, myrosesgray.jpg, so I can't reproduce your results. Sorry, can you see those images now? (The phenomenon *should* occur with almost any true grayscale jpg as input, like any grayscale version of rose: saved by IM7,...
by Dabrosny
2017-08-21T20:56:35-07:00
Forum: Bugs
Topic: [Proposed docs for "-intensity" now in thread for approval.] When converting a grayscale image to color...
Replies: 44
Views: 43995

[Proposed docs for "-intensity" now in thread for approval.] When converting a grayscale image to color...

I'm not sure whether this is by design (perhaps undocumented?) or a bug. The documentation for "-intensity" says that it determines how a grayscale image is calculated from a color image, and in some other cases when a single intensity needs to be calculated internally from three channel i...
by Dabrosny
2017-08-21T11:55:35-07:00
Forum: Bugs
Topic: [We'll look to improve algo, time permitting -Magick] [workaround: -evaluate Log] count colors takes 13 times longer
Replies: 9
Views: 8659

Re: [We'll look to improve algo, time permitting, sez Magick] count unique colors (%k) takes 13 times as long on similar

Meanwhile, I can't think of any pre-processing that would cover all circumstances. Your image has only positive values, with most values near zero and a very long thin tail of high values, so "multiply to make the mean 50%" is a sensible solution. An hdri image is typically well-spread-ou...
by Dabrosny
2017-08-10T10:33:03-07:00
Forum: Bugs
Topic: linear gray images are transformed incorrectly to "other" colorspaces
Replies: 0
Views: 9787

linear gray images are transformed incorrectly to "other" colorspaces

When performing "-colorspace RGB" on a linear (gamma=1) Gray image, the result changes the data values (while replicating them to three channels) to nonlinear values (as if the result were going to be marked as sRGB?) even though it sets the image as linear RGB and preserves the gamma=1 se...
by Dabrosny
2017-08-10T06:42:37-07:00
Forum: Bugs
Topic: [3 gamma=1 Gray imgs -combine: Will patch set colorspc RGB? -edit] round-trip error (-separate or -combine change gamma)
Replies: 5
Views: 7558

Re: round-trip error (-separate and -combine ignore/lose gamma)

magick wrote: 2017-08-10T06:02:48-07:00 Thanks for the problem report. We can reproduce it and will have a patch to fix it...
Thank you very much.
In addition to preserving the gamma setting of the image, will -combine on three gamma=1 gray images produce linear RGB as the colorspace of the result instead of sRGB?
by Dabrosny
2017-08-09T16:59:19-07:00
Forum: Bugs
Topic: [3 gamma=1 Gray imgs -combine: Will patch set colorspc RGB? -edit] round-trip error (-separate or -combine change gamma)
Replies: 5
Views: 7558

[3 gamma=1 Gray imgs -combine: Will patch set colorspc RGB? -edit] round-trip error (-separate or -combine change gamma)

When the colorspace is linear RGB with gamma=1, the operators -separate and -combine ignore all of that and mark their output as nonlinear (colorspace gray for -separate or colorspace sRGB for -combine) with gamma~0.4545... In the following, -separate is changing the marked gamma from 1 to 0.454545 ...
by Dabrosny
2017-08-08T12:29:09-07:00
Forum: Bugs
Topic: [thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format
Replies: 10
Views: 10522

Re: imdisplay doesn't work with HDR (Radiance) image format

Can anyone out there try it with an HDRI Windows build? Sounds like the values aren't being clamped properly in these HDRI Windows builds. I don't use imdisplay. But the image does show as I would expect using imdisplay in both v6.9.5-3 and v7.0.3-5, Q16, non-HDRI, on Windows 8.1, if that's any help.
by Dabrosny
2017-08-08T07:54:49-07:00
Forum: Bugs
Topic: [thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format
Replies: 10
Views: 10522

Re: imdisplay doesn't work with HDR (Radiance) image format

Would anyone please try opening the mentioned memorial.hdr file in display.exe under Windows (with HDRI and/or not)? I've now *also* tested it on a Non-hdri Cygwin ImageMagick 6.9.1-3 Q16 i686 2015-06-21 (DPC OpenMP) (Cygwin 2.0.4 32-bit) and the issue does *not* occur there. Fred already said the i...
by Dabrosny
2017-08-07T17:12:30-07:00
Forum: Bugs
Topic: [thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format
Replies: 10
Views: 10522

Re: imdisplay doesn't work with HDR (Radiance) image format

Perhaps you should upgrade your IM to the latest version. 7.0.2-9 is 36 versions old. As in my original post as well as in the one you are responding to (& my sig btw), i am using 7.0.6 x64 Windows. I said that I *also* reproduced the problem in 7.0.2 x86 32bit for Windows. I'm still hoping som...
by Dabrosny
2017-08-07T15:03:49-07:00
Forum: Bugs
Topic: [thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format
Replies: 10
Views: 10522

Re: imdisplay doesn't work with HDR (Radiance) image format

Can anyone on Windows reproduce the error? (especially with your Q16 HDRI-enabled IM)

In addition to IM 7.0.6-2 Q16 HDRI x64, I can reproduce the error on 32-bit IM 7.0.2-9 Q16 HDRI x86 2016-08-14
by Dabrosny
2017-08-06T12:56:16-07:00
Forum: Bugs
Topic: [thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format
Replies: 10
Views: 10522

[thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format

When this image is opened in imdisplay www.pauldebevec.com/Research/HDR/memorial.hdr the supra-white (> 1.0) pixels are not clamped to white but are instead mangled to seemingly-random colors. (Maybe an integer overflow or something like that?) It displays fine if you first convert it to EXR format....
by Dabrosny
2017-07-31T07:27:04-07:00
Forum: Bugs
Topic: [became suggest/request: write PNG as sRGB by deflt for DynamRng&Compat -edit] image gets darker&darker every round-trip
Replies: 43
Views: 183678

Re: [proposed solution (please respond): write png files as sRGB by default(EDIT)] image gets darker&darker every round-

snibgo wrote: 2017-07-30T17:02:27-07:00 The nip2-IM interface was included with nip2, as a (long) menu option. Perhaps it still is, though I see IM is now included in the VIPS binary.
BTW, I just noticed that there's also a VIPS-based wysiwyg non-destructive (operation-accumulating) image editor called PhotoFlow.
by Dabrosny
2017-07-30T18:04:56-07:00
Forum: Bugs
Topic: [became suggest/request: write PNG as sRGB by deflt for DynamRng&Compat -edit] image gets darker&darker every round-trip
Replies: 43
Views: 183678

Re: [proposed solution (please respond): write png files as sRGB by default(EDIT)] image gets darker&darker every round-

"-set colorspace None" had never occurred to me. Sadly, it seems to have no effect: Oh, look, "Undefined" seems to work (even though it isn't listed in -list colorspace): magick rose: -set colorspace Undefined info: rose: PPM 70x46 70x46+0+0 8-bit 9673B 0.000u 0:00.003 But presu...
by Dabrosny
2017-07-30T16:22:37-07:00
Forum: Bugs
Topic: [became suggest/request: write PNG as sRGB by deflt for DynamRng&Compat -edit] image gets darker&darker every round-trip
Replies: 43
Views: 183678

Re: [proposed solution (please respond): write png files as sRGB by default(EDIT)] image gets darker&darker every round-

My editor is called "Swim", it works on Windows, and I haven't published it. Sounds interesting -- maybe it's worth distributing even if it's with the understanding that it's "as-is" and "for techies". Lazy evaluation, oh, yes please. Have you seen VIPS and nip2 ? I wr...