Penguin

Differences between version 2 and predecessor to the previous major change of ImageMagick.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Tuesday, April 13, 2004 4:36:44 pm by AlastairPorter Revert
Older page: version 1 Last edited on Wednesday, October 29, 2003 10:48:03 pm by AlastairPorter Revert
@@ -10,4 +10,30 @@
 * Draw shapes or text on an image 
 * Decorate an image with a border or frame 
  
 http://www.imagemagick.org/ 
+  
+!!Usage Examples  
+  
+!Resizing  
+ convert -sample width x height input.jpg output.jpg  
+The widths/heights can also take % values. It scales proportionally, so going 25%x25% on a non-square image will still make it come out non-square  
+  
+!Joining images together  
+  
+ convert files +append output.jpg  
+The +append appears to join them together left to right. -append possibly does something else. Haven't really looked into it  
+  
+Situation: You have a bunch of digital photos that you want to string next to each other for a website banner  
+  
+1. Resize them all to 400px high (Just for ease of doing stuff later)  
+  
+ for img in *.jpg  
+ do  
+ convert -sample x400 "$img" "$img"  
+ done  
+  
+2. Join them together  
+ convert *.jpg +append output.jpg  
+This will of course join them in alphabetical order. You may want to do something about that.  
+  
+3. final resize/add gradients in [TheGIMP]