NOGDUS
November 14, 2018, 07:57:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Blogs Help Search Tags Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: ImageMagick Cropping Images  (Read 2448 times)
0 Members and 1 Guest are viewing this topic.
Richard Marks
202192397
Administrator
Member
*

Respect: 3425
Offline Offline

Posts: 1027


happy


« on: February 14, 2014, 03:59:57 AM »

// first ensure that the images have a transparent border
$ mogrify -bordercolor none -border 50 *.png

// now trim the images transparent edges
$ mogrify -trim +repage *.png
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!