Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Support for MagickResetImagePage and as an optional argument for crop and rotate #20
ImageMagick do not change the coordinate system after a crop or rotate, so the result of combine both is something unexpected.
It might be necessary to use a MagickResetImagePage after cropping or rotating to remove the page offset that will be left behind. This is especially true when you are going to write to an image format such as PNG that supports an image offset.