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.
Loading RAW image files
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Loading RAW image files
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

Valuable info here: http://lclevy.free.fr/cr2/
Canon's SDK: http://www.usa.canon.com/cusa/consumer/ ... k_homepage
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- Enthusiast
- Posts: 122
- Joined: Sat Nov 19, 2011 6:51 pm
Re: Loading RAW image files
I had already tried renaming my cr2 files with tif but nothing loads.IdeasVacuum wrote: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
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
The FreeImage dll use LibRaw (0.14.7) to load RAW images too...
http://freeimage.sourceforge.net/
http://freeimage.sourceforge.net/
"Daddy, I'll run faster, then it is not so far..."
Re: Loading RAW image files
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.
The cr2 file format is actualy not a raw, even if canon calls it so.
Re: Loading RAW image files
I think this documentation might help to deal with the CR2 format: http://wildtramper.com/sw/cr2/cr2.html.
El_Choni
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Loading RAW image files
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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- Enthusiast
- Posts: 122
- Joined: Sat Nov 19, 2011 6:51 pm
Re: Loading RAW image files
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.
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.