From bd8fad842a1858eefdb61193cc7a19d7e47f9258 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 12 Oct 2021 17:10:55 +0100 Subject: [PATCH] call JxlEncoderInitBasicInfo new mandatory API for libjxl v0.6 --- libvips/foreign/jxlsave.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvips/foreign/jxlsave.c b/libvips/foreign/jxlsave.c index a488a115..c39eb798 100644 --- a/libvips/foreign/jxlsave.c +++ b/libvips/foreign/jxlsave.c @@ -261,6 +261,8 @@ vips_foreign_save_jxl_build( VipsObject *object ) return( -1 ); } + JxlEncoderInitBasicInfo( &jxl->info ); + switch( save->ready->BandFmt ) { case VIPS_FORMAT_UCHAR: jxl->info.bits_per_sample = 8;