This Python script converts Raw10 image data to RGB and saves it as a PNG or JPG image. The original script in Rust was contributed by Ruben Sanchez.
-
Clone or download the repository:
git clone https://github.com/TheFourthKaramazov/raw10Decoder
-
Install Dependencies:
Ensure you have Pillow installed:
pip install pillow
-
Run the script from your IDE or with:
python raw10_decode.py
-
Enter your file path when prompted for the Raw10 file you want to decode.
-
Note:
The file will automatically be decoded into JPG format, but you can change the format to PNG where indicated in the comments.