Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Thermal Camera Photo Converter

This tool converts standard images into a format compatible with cheap thermal paper cameras that save/print photos.
These cameras are very picky with file specs, so this script automatically adjusts external images to be accepted and shown in the camera.

Thermal camera printer

✨ Features

  • Converts any .jpg, .jpeg, .png, .bmp to the exact specs required by the camera:
    • Resolution: 2048×1152 pixels
    • Format: JPEG (RGB, 24 bits, no EXIF metadata)
    • Naming: sequential PHO00000.JPG, PHO00001.JPG, ...
  • Auto-rotation for portrait images to better fit landscape format.
  • Resizes and adds white padding when needed, to avoid stretching.
  • Works with upscale too (small images are enlarged).
  • Input folder: originals/
  • Output: files are placed directly in the root folder (e.g., D:\PHOTO) ready for the camera SD card.

📂 Folder Structure

📁 PHOTO

  • FormatConverter.py
  • 📁 originals # put your source images here
  • PHO00000.JPG # converted files, ready for the camera
  • PHO00001.JPG
  • ...

🚀 Usage

  1. Install Python 3 and Pillow:

  2. Place the script (FormatConverter.py) inside your PHOTO folder (same root used by the camera).

  3. Create a subfolder called originals/ and put your images there.

  4. Run the script: python FormatConverter.py


📌 Notes

The camera usually refuses files that:

  • Have EXIF metadata
  • Don’t match the expected resolution
  • Use a different naming scheme
  • This script ensures all requirements are met.
  • Default background color is white, but you can change it to black (line 6 of the script).

📜 License

This project is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0)

About

This tool converts standard images into a format compatible with cheap thermal paper cameras that save/print photos. Those cameras are very picky with file specs, so this script automatically adjusts external images to be accepted and shown in the camera.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages