NOGDUS $1670.00 has been donated to NOGDUS!
September 21, 2017, 03:50:18 AM *
Welcome, Guest. Please login or register.

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

Respect: 3425
« 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
.: Theme by Richard Marks :.
Valid XHTML 1.0! Valid CSS!