Skip to content

plug-ins: Don't show pixel ratio warning for IFF thumbnails

Alx Sa requested to merge alxsa-iff-reduce-par-warnings into master

Like GIFs, Amiga IFFs can have pixel aspect ratios that aren't 1 to 1. We have a warning for users when they load these kind of IFFs, so they know to switch Dot for Dot mode off.

However, unlike GIFs, we don't have a thumbnail loader for IFFs. So, this warning pops up even when users are scrolling through the file dialogue. Since many Amiga IFFs have alternate PAR values, this means a lot of pop-ups.

This patch adds essentially a "dummy" thumbnail procedure so we can stifle this warning unless we're actually loading the IFF image.

Merge request reports

Loading