Skip to content

Conversation

xyb
Copy link
Contributor

@xyb xyb commented Aug 25, 2025

This PR extends the functionality of heic2jpg.sh by adding new scripts to handle common image file extension issues:

  • jpg2heic.sh - corrects JPG/JPEG files that should be HEIC
  • png2jpg.sh - corrects PNG files that should be JPG/JPEG
  • fix_img_extensions.sh - combined script to handle all cases in one pass

I have encountered issues with Synology Moments backup photos having incorrect file extensions, which prevents PhotoPrism indexing. These scripts will help automatically correct such issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant