Re: Added support for another Canon Raw format

John Ellis <[email protected]> Thu, 26 May 2005 14:26:29 -0400
Newsgroups gmane.comp.gnome.apps.gqview.devel
Message-ID <[email protected]>
"Daniel M. German" wrote:
> 
> I completed support for canon CR2 format. In combination to the CRW
> format (which I added last week) it means that gqview is able to
> browse raw files from most of Canon cameras.
> 
> My patch is available here:
> 
> http://turingmachine.org/~dmg/libdcraw/gqview
> 
> there is a readme file there that describes what to do.

I have just committed code to sourceforge CVS that contains this patch.

There are several changes to the handling of raw files:

 - Each manufacturer now has their own set of format_???.[ch] files.

 - Adding a format is now done through a #define in format_????.h and
referencing the define from format_raw.c

 - The file descriptor based parser is now a wrapper around the memory based
parser. It mmaps the file into memory before calling the memory based parser.



I also removed the file descriptor code from the canon parser as it is no longer
needed - it works with my sample crw file but cr2 is not tested. Does the crw
sample you provided earlier contain EXIF data? it does not display EXIF for me,
perhaps I broke something?



Greetings,
John


-- 
John Ellis <[email protected]>

http://gqview.sourceforge.net <GQview> | http://hideseek.sourceforge.net
http://gqmpeg.sourceforge.net <GQmpeg> |     <Preferences Hide and Seek>


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005