Vampyre Imaging Library Forum

Imaging Category => Suggestions, Feature Requests, Contributions => Topic started by: davem on 4 February 2009, 10:34:49

Title: RAW format?
Post by: davem on 4 February 2009, 10:34:49
Hi,
thanks for this great library!!!!!! Would it be possible to add support of RAW??

  Thank you, David
Title: Re: RAW format?
Post by: Galfar on 9 February 2009, 13:51:56
Hi, what do you have in mind exactly? You mean images without headers
or the images from digital cameras?
Title: Re: RAW format?
Post by: davem on 9 February 2009, 13:58:52
I meant images from digital cameras. That would be really great. I would actually only need to open them, it does not have much sence to save them, does it?

Thank you, Dave
Title: Re: RAW format?
Post by: Galfar on 9 February 2009, 14:27:22
The problem is there is no single RAW format, there's like dozens of them, usually every camera manufacturer uses his own RAW format.
Some also use encryption. Any specific RAW type you are interested in?
Title: Re: RAW format?
Post by: davem on 9 February 2009, 14:32:45
Ah, I didn't know. My graphic editor supports opening of something called "Raw format" (ext. RAW) but I don't know what the format really is and I haven't tried if it supports the files generated by my camera. Anyway I would appreciate to be able to open raw formats of basically any camera using vampyre but if there are many formats it doesn't have sence to implement all of them.  :'(

Anyway, thank you for your answer!

By the way, do the formats also differ among products of one producer? If not maybe it would be sufficient to support Nikon and Canon. Who buys the others??   ::)
Title: Re: RAW format?
Post by: Galfar on 15 February 2009, 15:30:51
Raw with *.raw filename is usually just pixels without any header, not the image from camera.
I'll look into Nikon and Canon raws but I'm afraid these two are protected somehow.
Title: Re: RAW format?
Post by: davem on 25 August 2009, 17:20:53
Quote from: Galfar on 15 February 2009, 15:30:51
Raw with *.raw filename is usually just pixels without any header, not the image from camera.
I'll look into Nikon and Canon raws but I'm afraid these two are protected somehow.


Hi Galfar,
any news on this topic??

  Thanks, David
Title: Re: RAW format?
Post by: Galfar on 8 September 2009, 13:44:18
Looks like it can only be done with plugins from the vendor (Nikon, Canon, etc.). But for next release (after 0.26.4) I plan to create image loader that uses WIC (http://en.wikipedia.org/wiki/Windows_Imaging_Component (http://en.wikipedia.org/wiki/Windows_Imaging_Component)). There are plugins for WIC from most camera makers.
Title: Re: RAW format?
Post by: Pavol Stugel on 17 January 2010, 10:45:50
so instead of support many RAW formats, it will be very nice to support DNG format.
http://en.wikipedia.org/wiki/Digital_Negative_%28file_format%29

http://www.adobe.com/products/dng/index.html

without WIC requirements.
Title: Re: RAW format?
Post by: Galfar on 20 January 2010, 15:55:21
Looks like DNG is TIFF based and recent LibTIFF versions support DNG-related TIFF tags, so it might be easy to support this format. I'll test it later.

But you'll need some external matadata parser. Next Imaging version will be able to read raw metadata in XMP, Exif, and IPTC formats, but something else will have to parse it.