Author Topic: imagemagick auto-levels  (Read 1509 times)

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,813
imagemagick auto-levels
« on: October 04, 2009, 05:18:12 AM »
Does anyone know of any way to have imagemagick automagically make my pictures look awesome? Occasionally the wife insists I scan vacation pics or something. I'm lazy so if it can't be scriptified I don't do it.

I've been using the -normalize switch for autolevels and I think it's slightly better than nothing but not as good as the 'auto-levels' plugin of programs like digikam which are practically always 'right'.


Currently I run this

Code: [Select]
for blerg in `ls *.jpg`;
do mogrify -modulate 100,0  -normalize -unsharp 15 -fuzz 50% -trim $blerg;
done;
Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

roo_ster

  • Kakistocracy--It's What's For Dinner.
  • friend
  • Senior Member
  • ***
  • Posts: 21,225
  • Hoist the black flag, and begin slitting throats
Re: imagemagick auto-levels
« Reply #1 on: October 04, 2009, 02:20:31 PM »
[shell_wars]I see your problem.  Looks like you script is written in bash/sh and not tcsh/csh.[/shell_wars]
Regards,

roo_ster

“Fallacies do not cease to be fallacies because they become fashions.”
----G.K. Chesterton