AOSSIE-Org / AOSSIE-Org/PictoPy

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

オープン
#852 コメント 2 件 リアクション 0 件 担当者 1 名 @JIturiDashami が担当を希望しています GitHub で見る
backend enhancement
主要言語
Python
スター
283
フォーク
679
平均マージ
7日 2時間
マージ済み PR(30日)
3

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。