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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
computer science syllabus 3 70
How to debug For loops? 3 45
tvirtualstringtree freeze when load too manny images 10 52
Graphics32 under Delphi 10.1 Berlin 2 34
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now