gographics / imagick

Go binding to ImageMagick's MagickWand C API
https://godoc.org/github.com/gographics/imagick/imagick
Other
1.77k stars 184 forks source link

Add Parse*Geometry methods #304

Closed beetlebugorg closed 8 months ago

beetlebugorg commented 8 months ago

The geometry parse methods provide a way to parse geometry such as "100x100+10+0" or "100x100!".

If you've ever used magick convert -resize (or convert -resize), these methods are called internally.

Imagemagick provides really good documentation on the Image Geometry format.

justinfx commented 8 months ago

Thanks for the changes!