Skip to content

Commit bd8fad8

Browse files
committed
call JxlEncoderInitBasicInfo
new mandatory API for libjxl v0.6
1 parent 444a04e commit bd8fad8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libvips/foreign/jxlsave.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ vips_foreign_save_jxl_build( VipsObject *object )
261261
return( -1 );
262262
}
263263

264+
JxlEncoderInitBasicInfo( &jxl->info );
265+
264266
switch( save->ready->BandFmt ) {
265267
case VIPS_FORMAT_UCHAR:
266268
jxl->info.bits_per_sample = 8;

0 commit comments

Comments
 (0)