Skip to content

Commit

Permalink
Support animated JPEG XL images
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jul 13, 2024
1 parent 19ffb55 commit 7a9dd05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tilesource.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ tilesource_open(Tilesource *tilesource, int level)
"page", level,
NULL);
}
else if (vips_isprefix("webp", tilesource->loader) ||
vips_isprefix("gif", tilesource->loader)) {
else if (vips_isprefix("webp", tilesource->loader) ||
vips_isprefix("gif", tilesource->loader) ||
vips_isprefix("jxl", tilesource->loader)) {
/* These formats have pages all the same size and support page and n.
*/
image = vips_image_new_from_file(tilesource->filename,
Expand Down

0 comments on commit 7a9dd05

Please sign in to comment.