Search found 12163 matches

by snibgo
2013-04-02T20:54:38-07:00
Forum: Bugs
Topic: ImageMagick 6.8.4 darkening grayscale images on convert
Replies: 22
Views: 34579

Re: ImageMagick 6.8.4 darkening grayscale images on convert

Try to view output.jpg. It will be much darker than the original. But other programs don't follow this convention, and think g2.jpg is in sRGB colorspace, and display it accordingly. I should perhaps say that IMdisplay, the viewer included in ImageMagick, displays both images the same (for v6.8.4-6...
by snibgo
2013-04-02T20:13:23-07:00
Forum: Bugs
Topic: possible bug LCH colorspace IM 6.8.4.6 Mac OSX
Replies: 5
Views: 4519

Re: possible bug LCH colorspace IM 6.8.4.6 Mac OSX

Colorspaces that fail a simple round-trip test in v6.8.4-6 are: LCH, LMS, YCC, YIQ, YUV. Of these, YIQ and YUV aren't much worse than 1% off. My simple test is ... convert hald:8 src.png convert src.png -colorspace XXXX -colorspace sRGB result.png compare -metric RMSE src.png result.png NULL: ... an...
by snibgo
2013-04-02T18:27:28-07:00
Forum: Bugs
Topic: ImageMagick 6.8.4 darkening grayscale images on convert
Replies: 22
Views: 34579

Re: ImageMagick 6.8.4 darkening grayscale images on convert

Sorry, I know nothing about Perl Image::Magick. Certainly, something has changed between 6.8.4-0 and 6.8.4-6 (to name two versions that I have available). However, I fear the IM developers wouldn't call it a bug, but a feature. Or even a bug fix. The fact that I don't like this feature is neither he...
by snibgo
2013-04-02T16:43:32-07:00
Forum: Bugs
Topic: ImageMagick 6.8.4 darkening grayscale images on convert
Replies: 22
Views: 34579

Re: ImageMagick 6.8.4 darkening grayscale images on convert

The superfluous conversion seems to occur while writing JPGs. v6.8.4-6 on Windows 7: convert gray_ramp.jpg g.png convert g.png g2.png convert g2.png g2.jpg g.png and g2.png are visually the same as gray_ramp.png. g2.jpg is darker. Inserting "set colorspace RGB" in the final convert prevent...
by snibgo
2013-04-02T15:52:43-07:00
Forum: Bugs
Topic: ImageMagick 6.8.4 darkening grayscale images on convert
Replies: 22
Views: 34579

Re: ImageMagick 6.8.4 darkening grayscale images on convert

With 6.8.4-0, this ... convert gray_ramp.jpg g.jpg ... gives no problems. With 6.8.4-6, the same command gives a result that is darker. To correct it (almost entirely; the remaining small difference is probably the JPG compression), I can do: "%IMG6846%convert" gray_ramp.jpg -set colorspac...
by snibgo
2013-04-01T20:27:34-07:00
Forum: Users
Topic: Animated GIF to BMP not working?
Replies: 1
Views: 3447

Re: Animated GIF to BMP not working?

It works fine in 6.8.3-0, but not 6.8.4-0. There have been recent fixes to bugs reading GIFs, see for example viewtopic.php?f=3&t=23074
by snibgo
2013-04-01T11:58:33-07:00
Forum: Bugs
Topic: upgrade fail
Replies: 14
Views: 12329

Re: upgrade fail

So v6.8.4 converts all 1-channel .png files to sRGB when read in? Not when read in, no. The conversion occurs when certain operators are executed. In this case, it is the "-clut" operator. IM says to itself, "This operator needs greyscale images to be in RGB space. It is currently sR...
by snibgo
2013-04-01T11:23:22-07:00
Forum: Users
Topic: convert and trim problem
Replies: 3
Views: 5799

Re: convert and trim problem

To expand slightly on fmw's explanation: convert needs an input file and an output file. They can be the same name, but you must provide them both. So your command could be:

Code: Select all

convert D:\tmp\2.jpg -fuzz 3% -trim +repage D:\tmp\2.jpg
by snibgo
2013-03-31T15:20:56-07:00
Forum: Bugs
Topic: upgrade fail
Replies: 14
Views: 12329

Re: upgrade fail

glennrp wrote:I believe that ImageMagick currently assumes that ... all-gray unmarked PNG images are linear.
However, in this example, IM knows the images are all-grey ("-verbose" says colorspace=gray and gamma=1), but we need "-set colorspace RGB" to prevent a conversion.
by snibgo
2013-03-30T22:12:50-07:00
Forum: Users
Topic: How to cut a long,long pic into multiple pages for printing?
Replies: 2
Views: 7027

Re: How to cut a long,long pic into multiple pages for print

"-Crop" will chop up the image, eg ...

Code: Select all

convert x.png -crop 1060x600 out.png
... will create 8 output files.

IM knows about many paper sizes, but I never use them so can't advise. See http://www.imagemagick.org/script/comma ... s.php#page
by snibgo
2013-03-30T21:15:28-07:00
Forum: Bugs
Topic: upgrade fail
Replies: 14
Views: 12329

Re: upgrade fail

Your clut file shouldn't do anything -- the output file should be the same as the input file. And that's what happens with 6.8.3. However, the output from your 6.8.4 is different; it is lighter. I did read somewhere that 6.8.4 onwards did something different with RGB/sRGB on monochrome images. Sure ...
by snibgo
2013-03-30T19:09:22-07:00
Forum: Bugs
Topic: upgrade fail
Replies: 14
Views: 12329

Re: upgrade fail

Isn't this what backups are for?

I put a Windows version 6.8.3-0 on Dropbox, https://www.dropbox.com/s/l7evmxggzij4f ... atic.exe?m , if that's any help.
by snibgo
2013-03-30T19:01:19-07:00
Forum: Users
Topic: Very large image montage
Replies: 10
Views: 13943

Re: Very large image montage

For starters, you could use 8-bit IM. That will halve the space needed.

I'm curious to know why someone wants such huge PNG files.
by snibgo
2013-03-30T00:56:14-07:00
Forum: Bugs
Topic: [solved] Lab: "a" &" b" leaking into L in RGB round-trip?
Replies: 11
Views: 18980

Re: [solved] Lab: "a" &" b" leaking into L in RGB round-trip

Using integer arithmetic, what is eleven divided by ten, multiplied by ten? Ten. What is nineteen divided by ten, multiplied by ten? Also ten. Two different numbers have both done the round trip, yielding the same result. That is what you are seeing. You could say the tones have shifted, but that is...
by snibgo
2013-03-30T00:31:51-07:00
Forum: Bugs
Topic: [solved] Lab: "a" &" b" leaking into L in RGB round-trip?
Replies: 11
Views: 18980

Re: Lab: "a" &" b" channels leaking into L in RGB round-trip

henrywho wrote:... but that should be rounding, truncation ...
Yes, that's another way of putting it. See my first reply: "In general, with integer arithmetic, there isn't a 1:1 mapping between colorspaces."

Try non-integer arithmetic, ie IM with HDRI. Your three commands then give identical results.