humhub-contrib / gallery

7 stars 11 forks source link

Support .apng and .tif uploads #79

Open spoorun opened 3 years ago

spoorun commented 3 years ago

Currently the gallery only supports uploads of files with the following extensions; jpg, jpeg, gif, bmp, svg, tiff, png, webp

.tif files are identical to .tiff which can upload, so that should be simple. .apng files are identical to .png (animated) files, so that should be simple.

[Resolved: .webp files now work 07/03/23]

ilsd commented 1 year ago

It seems as if .webp ist now supported. Just uploaded a bunch of webp images into a gallery. HumHub Community Edition Version: 1.13.1 Module Gallery 1.4.0 PHP - ImageMagick Extension installed

What I would like to see is support for the HEIC/HEIF format. ImageMagick already supports it (just converted a bunch of HEIC files on my commandline: $ for f in *; do magick $f $f.webp ; done)

spoorun commented 1 year ago

It seems as if .webp ist now supported. Just uploaded a bunch of webp images into a gallery. HumHub Community Edition Version: 1.13.1 Module Gallery 1.4.0 PHP - ImageMagick Extension installed

What I would like to see is support for the HEIC/HEIF format. ImageMagick already supports it (just converted a bunch of HEIC files on my commandline: $ for f in *; do magick $f $f.webp ; done)

Yes, it seems that .webp works now :)

Apng files are supported, so long as the extension is .png but if it's .apng they are not (even though those extensions are used interchangeably for apngs)