Skip to content

Commit

Permalink
STUD-367 cover art webp format rejected by EVEARA (#840)
Browse files Browse the repository at this point in the history
* feat: Transform cover art format to png for EVEARA

* feat: Transform profile images to png

* feat: Remove webp instead of reformatting to png

Remove image uploads for webp format as it is not accepted through
EVEARA. Webp format is a compressed format and if converted to
png, could create larger file size than accepted by EVEARA. Keeping jpg,
jpeg, and png as they are commonly used image file formats and accepted
by EVEARA.
  • Loading branch information
dmkirshon authored Dec 6, 2024
1 parent 000111e commit 83fc7c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/elements/src/lib/UploadImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ const UploadImage: FunctionComponent<UploadImageProps> = ({
accept: {
"image/jpg": [".jpg", ".jpeg"],
"image/png": [".png"],
"image/webp": [".webp"],
},
multiple: false,
onDrop: allowImageChange ? handleDrop : undefined,
Expand Down

0 comments on commit 83fc7c3

Please sign in to comment.