Skip to content

feat: image optimization script#162

Open
h-elatina wants to merge 1 commit into
mainfrom
152-enforce-max-dimensions-and-compress-member-images
Open

feat: image optimization script#162
h-elatina wants to merge 1 commit into
mainfrom
152-enforce-max-dimensions-and-compress-member-images

Conversation

@h-elatina

Copy link
Copy Markdown
Contributor
  • Created a script for square center-cropping + conversion to .webp + resizing to 800x800px using the python3 pillow package.
  • Files to be converted are to be added to the pre_crop directory (accepts .jpg, .jpeg, .png, .bmp, .webp file formats).
  • Cropped files will be found in post_crop directory.
  • Optimized cropped files will be found in post_opt directory.
  • Fair Note: This PR does not include Pillow, users will have to install Pillow locally before running the script.

@h-elatina h-elatina linked an issue May 4, 2026 that may be closed by this pull request
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.

Enforce max dimensions and compress member images

1 participant