Closed lming closed 7 years ago
It seems right now jpeg.Encode() can only take image.Gray and image.YCBCr. Is it possible to support image.RGBA? I have images generated by image/draw, which cannot be image.YCBCr.
I found some write convert YCBCr to RGBA function. maybe can be some help: https://github.com/disintegration/imaging/blob/master/helpers.go#L320
Fixed in #33.
It seems right now jpeg.Encode() can only take image.Gray and image.YCBCr. Is it possible to support image.RGBA? I have images generated by image/draw, which cannot be image.YCBCr.