TBitmap format and Canon RAW image format in Delphi code

Posted on 2007-11-24
Last Modified: 2008-02-13

I am working on a photo edit program where I am implementing rotation/ coloring/ contrast etc routines. I want to open RAW ( *.cr2) files for Canon camera's. Does anyone have a routine finished or has pseudo code so I can implement this format. I would also love to see the TBitmap format.
Question by:mpoots
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

BdLm earned 500 total points
ID: 20342638
for the Bitmap format you may use this link:

for *.cr2, some basic info



Author Comment

ID: 20345085
Not, not at all. I am really looking for sample code or pseudo code.
LVL 31

Expert Comment

ID: 20345108
In the wikipedia link above, there is a link to an open source program (see link below).  The fact that it is open source means there should be code for it.  I don't think Canon are that secretive about the data structure of the cr2 file as I know from experience that Thumbs Plus has the facility to read it.
LVL 31

Expert Comment

ID: 20886010
The Link I have given I feel answers the question.  There are two ways to make use of the information provided (1) to use the libraries outlined therein (2) to call the command line utility with appropriate parameters.

Author Comment

ID: 20891540
No, I am sorry. I read the links before you posted the suggestions. And don't you think I would not have deleted the answer if I felt you had given the answer I was looking for? I was looking for code or pseudo code. I wanted to reward a person with points who could deliver me that.

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Article by: Nadia
Suppose you use Uber application as a rider and you request a ride to go from one place to another. Your driver just arrived at the parking lot of your place. The only thing you know about the ride is the license plate number. How do you find your U…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question