使用 Rust 库从数码相机图像中提取原始数据和一些元数据
This is a rust library to extract the raw data and some metadata from digital camera images. Given an image in a supported format and camera you will be able to get everything needed to process the image:
The library is still a work in process with the following formats already implemented:
1 DNG is a 101 page overambitious spec that tries to be an interchange format for processed images, complete with image transformation operations. We just implement enough of the spec so that actual raw files from DNG producing cameras or the Adobe DNG converter can be read.
2 Files that are just the raw data itself with no metadata whatsoever. The most common of these are the files generated by the Canon CHDK hacked firmware. Later versions produced actual DNG files but the first ones just did a dump of the raw data next to the JPG and assumed the user would use the JPG for the metadata. We match them by the filesize itself which means that if you feed rawloader with a file that has the exact same bytecount as these files you'll get a nice garbage output...
Here's a simple sample program that uses this library:
…Bug reports and pull requests welcome at https://github.com/pedrocr/rawloader
Meet us at #chimper on irc.libera.chat if you need to discuss a feature or issue in detail or even just for general chat.
暂无开放 Issues,或尚未同步最近议题。