i can not trim this kind of image
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
The fuzz option won't help with this image. If you magnify it with an image viewer you will find that there is a margin along the top and left sides of the image that is two pixels wide consisting of various shades of grey pixels.
This is a screen grab of the top left corner of the image (I used Paint Shop Pro).
http://members.shaw.ca/saskbirder/newsletter_mag.png
I think trim will work if you first crop that margin out of the image.
Best Wishes
Pete
This is a screen grab of the top left corner of the image (I used Paint Shop Pro).
http://members.shaw.ca/saskbirder/newsletter_mag.png
I think trim will work if you first crop that margin out of the image.
Best Wishes
Pete
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
I've played a bit with cropping and trimming that image and the margins are a bit more awkward than I thought.
In order for trim to work you have to crop a two pixel margin off the top, 5 pixels off the left margin and 5 off the bottom margin and then trim (with a fuzz of 15) reduces the image to 899x2269 from its original 982x4000.
Best Wishes
Pete
In order for trim to work you have to crop a two pixel margin off the top, 5 pixels off the left margin and 5 off the bottom margin and then trim (with a fuzz of 15) reduces the image to 899x2269 from its original 982x4000.
Best Wishes
Pete
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
for more information on -trim see
http://www.cit.gu.edu.au/~anthony/graph ... crop/#trim
This includes fuzzy trims, trims with a specific color, and trim ignoring small features.
If anyone likes to add other techniques, please mail me.
http://www.cit.gu.edu.au/~anthony/graph ... crop/#trim
This includes fuzzy trims, trims with a specific color, and trim ignoring small features.
If anyone likes to add other techniques, please mail me.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/