Results 220 comments of snibgo

Yes, `-clamp` also clamps the top. If you want to clamp just the negative values, use "`-evaluate Max 0`".

IM is a fairly low-level system. It does what we tell it to, whether the colorspace is sRGB or XYZ or whatever. If you want different processing according to the...

You don't show your input and output images, so we can only guess. I guess your output format is lossy, eg jpeg compression.

`-colors 256` is an operation that will ensure the image contains no more than 256 different colours. In your commands, the images already contain fewer colours, so the operation does...

If you have `-compress RLE` for a paletted output, you will get 256 entries. For example: ``` magick -size 200x200 xc:khaki -type palette -compress RLE x.bmp ```

I don't think there is any other way to force a 256-entry BMP palette. If you build IM yourself, you could patch coders/bmp.c, perhaps by changing: ``` if (image_info->compression ==...

> Consider the attached file 512x1 file I can't see an attached file. I can reproduce the problem: ``` D:\temp>%IMG7%magick x.jpg -verbose info: D:\temp>file x.jpg x.jpg: JPEG image data, JFIF...

I can't reproduce the problem on Windows 11. I installed from the given link, https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-28-Q16-HDRI-x64-dll.exe . It works fine for me, reading `rose:`, and writing and reading PNG and JPG...

> ... we overwrite the dng:decode delegate so it uses darktable instead of ufraw-batch. I suppose you have changed the entry in `delegates.xml`. What is your replacement?

Someone pointed out this problem, which is now fixed. Upgrade to the current IM for the fix.