Skip to content

Fix image folder lookup and add other images formats support#2

Open
cocciasecca wants to merge 8 commits intoLukullul:masterfrom
cocciasecca:master
Open

Fix image folder lookup and add other images formats support#2
cocciasecca wants to merge 8 commits intoLukullul:masterfrom
cocciasecca:master

Conversation

@cocciasecca
Copy link
Contributor

Updated the code to use the image folder specified in the memories.json file instead of the hardcoded Photos/post path, and adds support for JPEG files in addition to JPG and TIFF formats.

Support photos in Photos/bereal/ by skipping user ID folder; works for both post and bereal paths
- use the folder specified in memories JSON instead of hardcoding Photos/post
- add support for JPEG files alongside JPG/TIFF
The script no longer copies .jpeg files as .webp; it now converts them properly.
In the last fix I let Pillow deal with mp4 files, now I added an if so Pillow just gets images
mp4 files were not being processed anymore after last patch
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