-
Notifications
You must be signed in to change notification settings - Fork 521
Open
Labels
Description
Describe the feature
Summary
PictoPy currently supports PNG, JPG, and JPEG image formats. WebP images are ignored during uploads due to backend and frontend validation, even though Pillow is capable of decoding WebP images. This issue proposes adding official WebP support.
Problem
.webpimages are silently skipped during file or folder uploads- No error or feedback is shown to the user
- Backend image pipeline does not crash, indicating this is a validation-level limitation rather than a decoding issue
Proposed Solution
- Verify Pillow compatibility for WebP decoding in the backend environment
- Extend backend validation to allow:
.webpfile extensionimage/webpMIME type
- Update frontend validation:
- Allow
.webpin file picker and drag-and-drop - Update supported formats text if applicable
- Allow
- Ensure existing image processing, tagging, and clustering pipelines remain unchanged
Scope
- No changes to ML, tagging, or clustering logic
- No database schema changes
- Backend and frontend validation updates only
Benefits
- Adds support for a modern and widely used image format
- Improves compatibility with images from browsers, mobile devices, and cloud exports
- Non-breaking enhancement with minimal risk
Acceptance Criteria
- WebP images can be uploaded via file picker and folder upload
- WebP images are visible and processed like other supported formats
- Existing PNG/JPG/JPEG functionality remains unaffected
Add ScreenShots
Record
- I agree to follow this project's Code of Conduct
- I want to work on this issue