Jujube/cmd: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
Use command line for batch image processing.
= Useful shortcuts =


= prep =
*select img + space --> quick look
*select img + opt + space --> full-screen quick look
 
= Use command line for batch image processing =
 
== prep ==


Install ImageMagick via homebrew if not already
Install ImageMagick via homebrew if not already
Line 15: Line 20:
   brew install ufraw
   brew install ufraw


= useful commands/scripts =
== useful commands/scripts ==


1. quick review of .NEF files (copies the .NEF file and turns it into a jpg thumbnail)
1. quick review of .NEF files (copies the .NEF file and turns it into a jpg thumbnail)

Revision as of 18:30, 30 November 2018

Useful shortcuts

  • select img + space --> quick look
  • select img + opt + space --> full-screen quick look

Use command line for batch image processing

prep

Install ImageMagick via homebrew if not already

  brew install imagemagick

I ran into delegate errors,

  convert: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=%u.png' '%i @ error/delegate.c/InvokeDelegate/1860.

and this fixed it.

  brew install ufraw

useful commands/scripts

1. quick review of .NEF files (copies the .NEF file and turns it into a jpg thumbnail)

  for img in *.NEF; do cp $img `basename $img .NEF`.jpg; done

2. view image info

  identify -verbose DSC_7883.NEF

2. turn .NEF into .jpg (resize can be determined after review of the image info)

  for img in *.NEF; do convert $img -resize 20%  `basename $img .NEF`.jpg;done