Solved

TBitmap format and Canon RAW image format in Delphi code

Posted on 2007-11-24
5
1,222 Views
Last Modified: 2008-02-13
Hi,

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.
0
Comment
Question by:mpoots
  • 2
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
BdLm earned 500 total points
Comment Utility
for the Bitmap format you may use this link:
      http://msdn2.microsoft.com/en-us/library/ms532298.aspx

for *.cr2, some basic info
     http://en.wikipedia.org/wiki/Raw_image_format


helpful?

0
 
LVL 1

Author Comment

by:mpoots
Comment Utility
Not, not at all. I am really looking for sample code or pseudo code.
0
 
LVL 31

Expert Comment

by:moorhouselondon
Comment Utility
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.

http://en.wikipedia.org/wiki/Dcraw
0
 
LVL 31

Expert Comment

by:moorhouselondon
Comment Utility
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.
0
 
LVL 1

Author Comment

by:mpoots
Comment Utility
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.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

772 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

13 Experts available now in Live!

Get 1:1 Help Now