diff options
Diffstat (limited to 'source/blender/imbuf/intern/jpeg.c')
-rw-r--r-- | source/blender/imbuf/intern/jpeg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/jpeg.c b/source/blender/imbuf/intern/jpeg.c index 5a40de0a65e..a43a8672651 100644 --- a/source/blender/imbuf/intern/jpeg.c +++ b/source/blender/imbuf/intern/jpeg.c @@ -572,8 +572,12 @@ static int init_jpeg(FILE * outfile, struct jpeg_compress_struct * cinfo, struct cinfo->in_color_space = JCS_RGB; if (ibuf->planes == 8) cinfo->in_color_space = JCS_GRAYSCALE; +#if 0 + /* just write RGBA as RGB, + * unsupported feature only confuses other s/w */ + if (ibuf->planes == 32) cinfo->in_color_space = JCS_UNKNOWN; - +#endif switch(cinfo->in_color_space){ case JCS_RGB: cinfo->input_components = 3; |