Skip to content

Commit 6953c99

Browse files
author
Cristy
committed
Initialize VIPS image background color
1 parent dbdff56 commit 6953c99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎coders/vips.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ static Image *ReadVIPSImage(const ImageInfo *image_info,
481481
case VIPSTypeYXY:
482482
ThrowReaderException(CoderError,"Unsupported colorspace");
483483
}
484+
(void) SetImageBackgroundColor(image,exception);
484485
image->units=PixelsPerCentimeterResolution;
485486
image->resolution.x=ReadBlobFloat(image)*10;
486487
image->resolution.y=ReadBlobFloat(image)*10;

0 commit comments

Comments
 (0)