Results 220 comments of snibgo

For documentation on building wand programs, see https://www.imagemagick.org/script/magick-wand.php Your command doesn't have `pkg-config`, or anything else that defines `MAGICKCORE_QUANTUM_DEPTH`.

mogrify doesn't call convert. Quotes are needed at the command line when filenames contain spaces. This is because command line interpreters assume spaces are separators between tokens. Slash / and...

The problem is that IM thinks that anything on the command line that starts with dash "-" and has an alpha as the next character (eg "-somefile.png") is an option,...

The double-dash works fine because the second character isn't an alpha. I don't know why a dash within the name makes a difference.

Try running this Windows command first: ``` set MAGICK_OCL_DEVICE=off ``` Does that fix the problem? See https://github.com/ImageMagick/ImageMagick/discussions/3494

Okay, OCL is not the problem. I don't know what is, sorry. A developer may take a look.

I know nothing about R. You want to read IMGP5589.PEF. This is a raw camera file, so IM delegates the task. > raw_image_col

> ... get the raw channel data for red, green, and blue, and then view that data as greyscale ... What does "raw channel data" mean? As a general answer,...

I suggest: ``` magick in.png -channel RGB -separate +channel -depth 8 GRAY:x-%d.bin ``` This makes x-0.bin, x-1.bin and x-2.bin. Each has no header, one byte per pixel. They can be...

I assume your input is sRGB. The GRAYColorspace has the same transfer curve as sRGB, so there is no conversion to linear gray. We can check this: ``` magick xc:sRGB(10%,10%,10%)...