I assume this is because you are using the following parameters:
-gravity center -extent 100x100
Above the parameters, talk to ImageMagick: βPlease extract a 100x100-sized area from the center of my image. For more information, you can read the documentation on the command line .
So, sulution is the following arguments:
image_Input.jpg -resize 100x100 image_Output.jpg
From my practice:
I do not use the image magic chip for .net because it was 32 bits (at least six months ago) and this causes different problems.
Typically, web applications typically require only two operations:
1 solution
2.Crop
The above commands use only one exe file: convert.exe .
So, I made a small shell that runs convert.exe with arguments.
MB a bit later I write a github url here for a shell project if anyone is interested in this.
source share