Skip to content

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

@Rudra-Tiwari-codes

Description

@Rudra-Tiwari-codes

Describe the feature

Is there an existing issue for this?

  • 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

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions