#file-format #camera-image #raw #file-tree #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.

4 releases

0.3.4 Jan 8, 2025
0.3.3 Nov 20, 2023
0.3.2 Aug 16, 2023
0.3.1 Jan 16, 2023

#134 in Images

Download history 2/week @ 2024-09-25 1/week @ 2024-12-11 145/week @ 2025-01-08

145 downloads per month

Custom license and LGPL-3.0-only

26KB
547 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

~25MB
~527K SLoC