#file-format #camera-image #file-tree #raw #recursion #convert #cr2

app raw-to-img

Converts raw image files produced by cameras into regular image files. Also works recursively on whole file trees instead of just a single folder or image.

3 releases

0.3.3 Nov 20, 2023
0.3.2 Aug 16, 2023
0.3.1 Jan 16, 2023

#700 in Images

Custom license and LGPL-3.0-only

26KB
541 lines

Raw to Image

Converts raw image files produced by cameras into regular image files. Also works recursively on whole file trees instead of just a single folder or image.

Currently only supports CR2, but the raw formats listed here should be easy to add. Just open an issue so I can add them to the whitelist. Pretty much the same goes for output formats as long as they are supported by image-rs.

Supported raw formats:

  • ARW
  • CR2
  • RAW

Supported image formats:

  • jpeg
  • png
  • tiff

Building the binary

To build the latest release checkout the latest tag and run cargo like so:

git checkout latest && cargo build --release

The binary will then be located in target/release/.

Dependencies

~12MB
~222K SLoC