gamevault-backend icon indicating copy to clipboard operation
gamevault-backend copied to clipboard

Autoconvert other popular image formats to supported ones

Open binarygeek119 opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

image

Describe the solution you'd like use a converter to auto convert in to supported format

Describe alternatives you've considered

Additional context also convert to other formats would be good too. (png, tiff, jpg, gif, etc)

binarygeek119 avatar Jan 06 '24 14:01 binarygeek119

As per https://gamevau.lt/docs/server-docs/images/#supported-image-types

.bmp, .jpg, .jpeg, .png, .gif, .ico, .tif, .tiff are already supported.

So according to https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#common_image_file_types

We cover almost any of the common image formats except: .avif, .apng, .webp, .svg

Nice Idea, Ill see if i can convert these into a suitable format.

Alfagun74 avatar Jan 06 '24 14:01 Alfagun74

The image preview may cause problems for these formats. We need to check if there are any issues.

Alfagun74 avatar Feb 06 '24 23:02 Alfagun74

We probably need to convert the image on the client-side before uploading for the preview instead.

Alfagun74 avatar Apr 24 '24 06:04 Alfagun74