: I have a lot of images for my website. However, they all need to be cropped. Is there a way using graphics magick? I have about 4000 images that need to be cropped. The task is rather simple
I have about 4000 images that need to be cropped. The task is rather simple really. They all have a white border that varies but is always between say 20 and 50 pixels. I want to use graphics magick to remove that white border from all the images. How?
More posts by @Correia994
3 Comments
Sorted by latest first Latest Oldest Best
The GraphicsMagick -trim operator here. Does what I need. Thanks for the other suggestions.
You could write a php script that crops all of the images.
php.net/manual/en/function.imagecopyresampled.php
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.