Islandora / documentation

Contains islandora's documentation and main issue queue.
MIT License
103 stars 71 forks source link

Service File should not change GIF to JPG #1570

Open DonRichards opened 4 years ago

DonRichards commented 4 years ago

Uploading an animated GIF the "Service File" generator ignores the that the original might be animated and should respect if animated but currently does not.

gif_services_file

Either create a lower res GIF or convert to a more appropriate format.

Suggested Alternatives:

APNG Animated Portable Network Graphics APNG Animated Portable Network Graphics

WebP Modern image format developed by Google WebP Modern image format developed by Google

seth-shaw-unlv commented 4 years ago

Huh, there isn't a clear winner between APNG and WebP based on browser support. It looks WebP has the widest support but it has a gaping hole without Safari (for now, at least).

On the other hand, you can get ImageMagick/GraphicsMagick to produce WebP files but not ANPG as far as I can discern. We would need a separate Crayfish service to wrap gif2apng to support it.

seth-shaw-unlv commented 4 years ago

MP4 may be even better... and we can use FFMPEG for the job.

Alternatively, we could just not create service files for Gifs. You can mark them as both Original File and Service File....

DonRichards commented 4 years ago

@seth-shaw-unlv I agree MP4 is probably the best option from what I've seen online.