Page 1 of 1
white balance flash
Posted: 2014-11-17T07:01:58-07:00
by JagVoylla
Hi All,
Please let me know if there is a way to apply white balance flash to an image in IM.
Thanks,
Jagrati
Re: white balance flash
Posted: 2014-11-17T08:43:34-07:00
by Bonzo
You could try and see if this code gives any EXIF data for the flash:
If it does you will probably have to write a script to check that and if it is set do some operation.
Re: white balance flash
Posted: 2014-11-17T09:12:00-07:00
by JagVoylla
Thanks Bonzo
WhiteBalance: 0 is what I get .Can i change this using IM
Re: white balance flash
Posted: 2014-11-17T10:39:21-07:00
by snibgo
I don't know what you mean by "white balance flash".
I have written a page about colour balancing, which is related to white balancing.
If you simply want to change the metadata, exiftool is the right tool for the job.
Re: white balance flash
Posted: 2014-11-17T10:55:30-07:00
by JagVoylla
Hi Snibgo ,
Thanks for your reply, In photoshop I change the white-balance to flash to process the image, I as looking for IM equivalent. I;ll look into exiftool more.
Re: white balance flash
Posted: 2014-11-17T11:12:40-07:00
by fmw42
Do you mean Photoshop is offloading its processing to the Adobe FLASH software tool? Imagemagick has no Flash delegate library to use.
Re: white balance flash
Posted: 2014-11-17T11:16:32-07:00
by snibgo
Electronic (photography) flash gives a colour temperature about the same as daylight, which is bluer than electric lighting. An image that is balanced for electric lighting will show the flashed areas as rather blue. Is this the problem you are trying to solve? See im.snibgo.com/coltemp.htm
If you are processing a raw camera image, the raw processor (eg dcraw) will have tools to adjust the white balance.
Re: white balance flash
Posted: 2014-11-17T12:36:25-07:00
by fmw42
What platform and version of IM are you using? If on Linux/Mac OSX or Windows with cygwin, you can try my script, autowhite at my link below. I find the top 1% of white pixels and get their average color. Then I find the ratios of the average colors with pure white. Then use -color-matrix to shift the colors to white for the whole image.