AOSSIE-Org / AOSSIE-Org/PictoPy

Feat: Add support for additional image formats (WebP, BMP, TIFF, GIF)

Open
#852 2 comments 0 reactions 1 assignee Claimed by @JIturiDashami View on GitHub
backend enhancement
Dominant language
Python
Stars
283
Forks
679
Avg merge
7d 2h
Merged PRs (30d)
3

Description

### Describe the feature

## Is there an existing issue for this?

- [x] I have searched the existing issues

## Feature Description

Currently, PictoPy only supports `.jpg`, `.jpeg`, and `.png` image formats. Modern photo libraries often contain images in other popular formats that should be supported.

## Current Behavior
**File:** `backend/app/utils/images.py` - `image_util_is_valid_image()` function
```python
allowed_extensions = {".jpg", ".jpeg", ".png"}

### Add ScreenShots

No screenshots.

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

### Checklist before Submitting.

- [x] Have you updated docs for it?.
- [x] Have you added unit tests?.
- [x] Have you made sure unit tests pass?
- [x] Have you made sure code formatting is correct?
- [x] Does it contain any style related issues?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.