imagick icon indicating copy to clipboard operation
imagick copied to clipboard

Where can I see in the code what arguments are accepted by setOption()?

Open johnnyApplePRNG opened this issue 2 years ago • 2 comments

I am struggling to grasp what options are available to me to use when working with webp files and imagick.

I am running version 6.9.11-60 on Debian 12.

I tried searching for "webp:method" and "webp:lossless" in the codebase (which I have verified to work with imagick) as I was hoping to find some code showing how exactly I could get some version of "webp:target-size" to work but I can't find anything.

Where is the option argument code hiding?

Thanks!

johnnyApplePRNG avatar Jun 27 '23 13:06 johnnyApplePRNG

Imagick is just a thin-ish wrapper around ImageMagick itself.

In particular you probably want to look in this file: https://github.com/ImageMagick/ImageMagick/blob/main/coders/webp.c

And if you wanted to make notes on what options are available, and put them here, that would be great.

Danack avatar Jun 27 '23 13:06 Danack