Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

batch editing images

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
lucast



Joined: Mon Dec 06, 2010 7:54 pm
Posts: 3
Location: Glasgow, Scotland

PostPosted: Mon Dec 06, 2010 8:25 pm    Post subject: batch editing images Reply with quote

Dear everyone,
I have returned from my month-long honeymoon a few months ago, with thousands of photos to share with family and friends.
My camera is far from perfect so I tweak the photos I email to friends by adding brightness and contrast, and adding a bit of saturation out of hue, lightness and saturation.

I read the LXF135 Sept10 ImageMagick tutorial and it seemed like the answer to my prayers, since with mogrify, I could edit thousands of photos from my trip simply by using command line functionality.

The problem is that I just want to add 6 units (i don't know whether is percentage or anything else) of contrast to each photo (In Gimp, that would be Colours => Brightness-Contrast Option) and 6 units (i don't know whether is percentage or anything else) of Saturation out of Hue-Lightness-Saturation (In Gimp, that would be Colours => Hue-Saturation... Option).


The issue is that when looking at ImageMagick, I could not find an option to add contrast by the units I desired, and the option to add saturation is compared to the GIMP option of Colours => Colourise which yields a totally unintended result.

Would any kind soul out there know how to batch edit photos in the areas I have mentioned only?
Any google search points me back to ImageMagick and initial predicament.

Image editing is certainly not my area of expertise and solving this problem would save me hours of work.

Thanks in advance,
_________________
Mr T
Back to top
View user's profile Send private message MSN Messenger
johnhudson
LXF regular


Joined: Wed Aug 03, 2005 2:37 pm
Posts: 870

PostPosted: Mon Dec 06, 2010 10:25 pm    Post subject: Reply with quote

Is the answer to find out what your 'units' are and express them as a percentage of the whole range to which they apply; then double that figure and apply that change either positively or negatively in ImageMagick?

http://www.imagemagick.org/script/command-line-options.php#brightness-contrast
Back to top
View user's profile Send private message
sledgehammer



Joined: Fri Jul 28, 2006 3:03 pm
Posts: 47

PostPosted: Wed Dec 08, 2010 8:18 am    Post subject: Reply with quote

Its been a long while since I used it, but have you tried Phatch?
Back to top
View user's profile Send private message
lucast



Joined: Mon Dec 06, 2010 7:54 pm
Posts: 3
Location: Glasgow, Scotland

PostPosted: Wed Dec 08, 2010 12:34 pm    Post subject: ImageMagick Reply with quote

Thanks johnhudson,
I have tried that option, convert -verbose -brightness-contrast 10 holidayPhoto.jpg but I get the following:

unrecognized option `-brightness-contrast' @ convert.c/ConvertImageCommand/802.

I have also tried -contrast option only but it doesn't give the option to even specify percentage.
As for saturation, i still need to figure it out.
Thanks, everyone for your replies.
I haven't been able to reply straight away but it is much appreciated, nonetheless.
I'll try the other solutions.
Cheers,
_________________
Mr T
Back to top
View user's profile Send private message MSN Messenger
lucast



Joined: Mon Dec 06, 2010 7:54 pm
Posts: 3
Location: Glasgow, Scotland

PostPosted: Wed Dec 08, 2010 2:07 pm    Post subject: it worked!! Reply with quote

Hi Sledgehammer,
Thanks for recommending Phatch, it is exactly what I was looking for.
So easy to use, great and intuitive GUI as well.
Cheers,
_________________
Mr T
Back to top
View user's profile Send private message MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast