Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plug-ins: fix #8553 GIMP 2.99.12 Cannot Open WebP Files
GIMP tried to open webp files as ani (animated cursor) files. The reason for this is that for ani we had set the file magic as the first 4 bytes should be RIFF. However, RIFF is a container format, used by many different file formats, among which is also webp. This means that checking for RIFF is not specific enough. Based on the info on http://fileformats.archiveteam.org/wiki/ANI we will check the 4 bytes starting at offset 8 for ACON, which is apparently the identifying part for animated icons.
- Loading branch information