Page 1 of 1
Loading RAW image files
Posted: Fri Feb 22, 2013 2:49 pm
by SniffTheGlove
Hello,
I am looking for a way to load Canon CR2 RAW files into PB for manipulation.
I have searched here on Forum but find nothing.
Could someone point me to an API or post some simple code to get the file into so that the 2D-Drawing can be used.
Thank you.
Re: Loading RAW image files
Posted: Fri Feb 22, 2013 3:30 pm
by IdeasVacuum
Apparently the CR2 format is related to Tiff. The first thing I'd do is try a cheat and see if a raw file will load as a Tiff
Valuable info here:
http://lclevy.free.fr/cr2/
Canon's SDK:
http://www.usa.canon.com/cusa/consumer/ ... k_homepage
Re: Loading RAW image files
Posted: Fri Feb 22, 2013 6:33 pm
by SniffTheGlove
I had already tried renaming my cr2 files with tif but nothing loads.
You have to have a good business reason (even for private use) to join the "Canon Cevelopment" and download the SDK
Re: Loading RAW image files
Posted: Fri Feb 22, 2013 7:40 pm
by dige
The FreeImage dll use LibRaw (0.14.7) to load RAW images too...
http://freeimage.sourceforge.net/
Re: Loading RAW image files
Posted: Fri Feb 22, 2013 7:45 pm
by Thorium
The thread title is a little bit misleading because a raw image is actualy a image file without any header, it can only be loaded if dimensions and pixel format are known. Most raw's from the old time was bin 8bit paletted and could be loaded as greyscale if the palette was unknown.
The cr2 file format is actualy not a raw, even if canon calls it so.
Re: Loading RAW image files
Posted: Sat Feb 23, 2013 11:48 am
by El_Choni
I think this documentation might help to deal with the CR2 format:
http://wildtramper.com/sw/cr2/cr2.html.
Re: Loading RAW image files
Posted: Sat Feb 23, 2013 5:50 pm
by IdeasVacuum
If you are making a commercial app, apply for membership of the Canon developer's group as a business - the application form is not so bad and they offer the SDK free, with free support too.
Re: Loading RAW image files
Posted: Sun Feb 24, 2013 6:21 pm
by SniffTheGlove
Thanks.
It's not commercial, just private use to create Astro Darks and Bias from my Canon 350D to make a dark library to improve my astrophotography shots.
Having a play with freeimage at the moment.