imagemagick can do almost everything .....

convert -thumbnail widthxheight a.png a.thumbnail.png

  • convert -thumbnail 120 a.png a.thumb.png    (width 120px)
  • convert -thumbnail 120x120 a.png a.thumb.png   (width/height 120px)
  • convert -thumbnail x120 a.png a.thumb.png (height 120px)


'Computer > linux' 카테고리의 다른 글

make an audio cd from an avi source  (0) 2011.10.09
create a thumbnail by command line  (0) 2011.09.27
Crop a pdf file to reduce a page margin in Linux  (0) 2011.06.23
email forward by using .forward  (0) 2011.06.05
posted by citadel