7173145: Improve in-memory representation of splashscreens

Reviewed-by: bae, mschoene
This commit is contained in:
Anthony Petrov 2012-10-12 15:51:44 +04:00
parent 7bd671250d
commit 69a6be0305

View File

@ -133,6 +133,10 @@ SplashDecodeJpeg(Splash * splash, struct jpeg_decompress_struct *cinfo)
ImageFormat srcFormat;
jpeg_read_header(cinfo, TRUE);
// SplashScreen jpeg converter expects data in RGB format only
cinfo->out_color_space = JCS_RGB;
jpeg_start_decompress(cinfo);
SplashCleanup(splash);