AOSSIE-Org / AOSSIE-Org/PictoPy

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

Đang mở
#852 2 bình luận 0 reaction 1 người được giao Được @JIturiDashami nhận Xem trên GitHub
backend enhancement
Ngôn ngữ chính
Python
Star
283
Fork
679
Merge trung bình
7 ngày 2 giờ
Pull request đã merge (30 ngày)
3

Mô tả

### 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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.