Viewer: Show message if shown image is an animated GIF

Started by ubacher, March 15, 2014, 07:23:37 AM

Previous topic - Next topic

ubacher

A very minor improvement (nice touch?) for the viewer.
If the shown image is an animated GIF display a message like:

This is an animated GIF image. Animation can be shown via the App panel GIF

BTW: is there a variable which can be queried to find out if the GIF is animated?

Mario

QuoteBTW: is there a variable which can be queried to find out if the GIF is animated?

Check the metadata of your GIF file in the Metadata Panel using the browser layout. There is frame count or duration you can use. And this also allows you to add info to the text overlay in the Viewer when the file is an animated GIF if this information is important for you. This should do it, without the need to add code to the Viewer (and I would need to add that to the Quick Preview panel as well).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook