call JxlEncoderInitBasicInfo
new mandatory API for libjxl v0.6
This commit is contained in:
parent
444a04e94f
commit
bd8fad842a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user