Skip to content

A simple Python script to convert CR2 photos to JPG and retain timestamps

License

Notifications You must be signed in to change notification settings

mateusz-michalik/cr2-to-jpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CR2 to JPG

A simple Python script to convert CR2 photos to JPG and retain timestamps.

Instructions

  1. Clone or download
  2. Install required packages with pip install
  3. Set permissions to execute chmod +x cr2-to-jpg.py
  4. Run the script and pass source and destination folders, for example: ./cr2-to-jpg.py --source ~/Desktop/raw --destination ~/Desktop/converted

Requirements

Script requires the following packages:

These are now set in requirements.txt for easier install.

Notes

This is just something I put together for my own use after having a look online and on Stack Overflow at CR2 conversion.

I needed it to cut the time of uploading 1,000+ raw CR2 photos to Google Photos.

There are many other ways to do this, including Photoshop actions if you're after a visual/gui based approach. There are also bash scripts that can achieve similar results, but I wanted to tinker and play with Python.

Thanks to @simoncoulton for some suggested tweaks and updates.

About

A simple Python script to convert CR2 photos to JPG and retain timestamps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages