software:unixtools [PaleoEarthLabs wiki]

PaleoEarthLabs wiki

One bucket of limited wisdom

Site Tools


software:unixtools

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:unixtools [2019/06/23 09:19]
christian added segy note
software:unixtools [2019/12/18 11:13] (current)
christian [Image manipulation]
Line 61: Line 61:
 Source: [[https://​hollyghozi.blogspot.com/​2006/​11/​oilgas-how-to-read-ebcdic-segy-header.html|hollyghozi.blogspot.com]] Source: [[https://​hollyghozi.blogspot.com/​2006/​11/​oilgas-how-to-read-ebcdic-segy-header.html|hollyghozi.blogspot.com]]
  
 +===== Image manipulation =====
  
 +Sometimes it is necessary to quickly manipulate an image sequence for movie generation etc. ImageMagick/​GraphicsMagick provide a command line based way to crop/​scale/​resize images.
  
 +Cropping:
  
-{{tag> Unix awk command_line Quick_and_dirty SEGY}}+<code bash> 
 + 
 +for i in *.jpg; do echo $i; magick $i -crop NewXwidthxNewYwidth+xoffset+yoffset ${i/​*.jpg/​*_mod.jpg/​};​ done 
 + 
 +</​code>​ 
 + 
 + 
 + 
 + 
 + 
 + 
 +{{tag> Unix awk command_line Quick_and_dirty SEGY magick imageprocessing}}
software/unixtools.1561274376.txt.gz · Last modified: 2019/06/23 09:19 by christian