Take out the transparent extra area

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11066
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-07-27T13:00:39-07:00

Use this command to trim the image border:
  • convert image.png -fuzz 15% -trim trim.png
The value of the fuzz might need to be less or more depending on the image.

User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-07-27T19:42:28-07:00

Add a -channel RGBA before using -gaussian
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply