Page 1 of 1

Image Contrast Issues

PostPosted: 04 Nov 2012, 19:30
by Burnf
With some of the sets, the contrasts are not great. My CFX download, the bloodhall ooze is practically all grey. There's a program that can do batch processing of images that could fix these, but I'm running into issues because of spaces in the name.

http://www.imagemagick.org

I'm trying to create a simple batch that will fix a whole directory at a time.
Code: Select all
FOR %%a IN (*.jpg) DO convert %%a -contrast %%a
PAUSE
But it requires some special handing for spaces.
http://www.imagemagick.org/Usage/windows/#filenames
Can anyone help figure this out? There's something about spaces two thirds of the way down. If you do ctrl+f for spaces, you can find the section.

Re: Image Contrast Issues

PostPosted: 04 Nov 2012, 19:34
by orban
-

Re: Image Contrast Issues

PostPosted: 04 Nov 2012, 19:36
by skibulk
If all else fails use Advanced Renamer to change all spaces " " to "~" or something of your preference. Perform your contrast operation. Then batch the "~" back to spaces " ".

Re: Image Contrast Issues

PostPosted: 04 Nov 2012, 21:44
by Burnf
Holy Crud. That worked. Sweet!

Anyone else that wants to fix their images, just install that image magic and put the following into a text file. Rename txt to bat and run in any folder that needs fixing.

Code: Select all
FOR %%a IN (*.jpg) DO convert "%%a" -contrast "%%a"
PAUSE