Notice: Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #831

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000831Feature RequestHighalways03/04/16 02:13AMJerl
Assigned to:geltas
View StatusPublic
Target Version:N/A
Summary:support for FLIF
Description:support for the file format FLIF should be granted and endorsed by gelbooru. details on related wikipedia page and the main site of FLIF.
Additional Info:
jedi1357 replied at 2016-03-04 10:54:55
I foresee a complication. If a file upload is interrupted, this site has a history of hosting files where the top of the image is fine put the bottom is grey-space or missing. These usually have to be deleted manually.

The way a FLIF file works, an interrupted file upload may result in a complete file with lossy compression. It may be difficult to spot a post that was not uploaded correctly.

I recommend not saving FLIF files to our database unless the entire file is confirmed to have been transferred.

Jerl replied at 2016-03-05 19:47:38
FLIF isn't supported by default in ImageMagick. It looks like there's a plugin for it, but ImageMagic is fussy enough as it is with the default configuration. Unless FLIF gets popular really quick, I don't see it happening soon.

On that note, do any major web browsers support FLIF by default? I couldn't even find an actual .flif image to test. We aren't going to host FLIF files unless browsers will display them by default.

Additionally, the FLIF page actually states that it's still a work-in-progress and that changes may make older FLIF images fail to decode. If that happened, we'd basically have to delete all existing FLIF posts, which would be annoying since we don't have a way to search by file extension and have a policy against tags for file extensions.