Hi All,
Please let me know if there is a way to apply white balance flash to an image in IM.
Thanks,
Jagrati
white balance flash
Re: white balance flash
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.
Code: Select all
identify -verbose image.jpg
Re: white balance flash
Thanks Bonzo
WhiteBalance: 0 is what I get .Can i change this using IM
WhiteBalance: 0 is what I get .Can i change this using IM
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: white balance flash
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.
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.
snibgo's IM pages: im.snibgo.com
Re: white balance flash
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.
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.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: white balance flash
Do you mean Photoshop is offloading its processing to the Adobe FLASH software tool? Imagemagick has no Flash delegate library to use.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: white balance flash
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.
If you are processing a raw camera image, the raw processor (eg dcraw) will have tools to adjust the white balance.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: white balance flash
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.