- Clone the repository.
- Download and install 64-bit Python3. Python 3.7.9 is recommended. Make sure to check Install Python 3 to PATH
- Install virtualenv. Run this on command prompt. Search
cmd
orpowershell
in the Windows start menu.
pip install virtualenv
- Go to 4CB00 location
cd C:\path\to\4CB00
- Create virtual environment
virtualenv venv
- Activate virtualenv
# On Windows
venv\Scripts\activate
# On Linux and Mac
source venv/Scripts/activate
- Install required packages
pip install -r requirements.txt
Make sure to activate the virtualenv (see Installing)
Run the following command to start the program (for Linux use python3
)
python main.py
Read the commands printed in the command prompt/terminal
The program can save the input image file in a form which consists of the rFFT2 values of each color and the full FFT image size. The rFFT2 data can be compressed and will be stored without zero padding.
Tested with a RAW image provided from Signature Edits.
Results using skulls image (inst = m.n_photo.graphy.NEF):
Compression (input value) |
FFT file size KB |
JPG file size KB |
---|---|---|
0 | 542.595 | 1.542 |
10 | 25.275 | 970 |
60 | 10.076 | 922 |