php-imagine / Imagine

PHP Object Oriented image manipulation library
https://imagine.readthedocs.io
Other
4.42k stars 530 forks source link

Feature request: Add support for "setOption('jpeg:size', '800x800');" #850

Open ethaniel opened 1 year ago

ethaniel commented 1 year ago

Issue description

Can you please add support for $imagick->setOption('jpeg:size', '800x800');? (the 800x800 needs to be configurable by the user).

It needs to be called before opening an image and helps tremendously when working with large images. It minimizes the memory usage when loading the image. https://github.com/zenphoto/zenphoto/issues/418#issuecomment-19463653

What version of Imagine are you using?

1.3.5

What's the PHP version you are using?

7.4.3

What's the imaging library you are using [gd/imagick/gmagick/any]?

imagick