User Tools

Site Tools


resources:imagemagick_resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:imagemagick_resources [2015/06/29 11:09] anthonyresources:imagemagick_resources [2019/05/22 16:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +~~TOC:1-3~~
 +
 +====== ImageMagick Resources ======
 +
 +ImageMagick is a set of command line tools that usually comes standard with Linux distributions.  
 +
 +http://www.imagemagick.org/script/index.php
 +
 ====== Make thumbnail images of posters from PDF files ====== ====== Make thumbnail images of posters from PDF files ======
  
Line 16: Line 24:
  
 [0] is for first page, [1] for second, etc. [0] is for first page, [1] for second, etc.
 +
 +====== Crop images using command line ======
 +
 +<2016-01-08>
 +
 +Anthony did this to crop an SPM rWLS residual time seriers figure (blank except for the very bottom) using command line tool ImageMagick (“convert”). 
 +
 +<code>
 +convert rwls_residual_time_series.png -gravity South ...
 +   -crop 0x30%+0+0 rwls_residual_time_series_crop.png
 +</code>
 +
 +This means: "Crop from bottom up (''-gravity South'') leaving all width and removing 30% of height (''0x30%+0+0'')"
 +
 +Got advice from this and related pages:
 +
 +http://www.imagemagick.org/Usage/crop/#crop_gravity
 +
 +\\
 +----
 +
 +
 +
resources/imagemagick_resources.1435590571.txt.gz · Last modified: (external edit)