DescriptionFix the JPEGOutput's implicit RGBA->RGB conversion. We were getting all the strides wrong before and botching the output.
Background info: Most format writers would consider it an error for the caller to request writing more color channels than can be supported by the file format. But as a special case, we let the JPEG writer silently drop the alpha channel and write as RGB. The justification is that it's simply too common to deal with RGBA images, very unusual for a format to not support it at all, and too frustrating to users to treat it as an error.
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 4
|