pixiv / go-libjpeg

An implementation of Go binding for libjpeg (or libjpeg-turbo).
BSD 3-Clause "New" or "Revised" License
157 stars 52 forks source link

Supports decoding RGB, CMYK and YCCK images. #10

Open harukasan opened 9 years ago

harukasan commented 9 years ago

Go 1.5 adds to support decoding RGB, CMYK and YCCK JPEGs.

We should follow this change, but image.CMYK struct is provided only Go 1.5 (added here: https://github.com/golang/go/commit/b5c3a9e572a1257c0db47d74b45f8e03f2f91f27) and later, probably.

We can not bind library version to runtime version in current Go build system, so we have some plans:

edvakf commented 9 years ago

Support only Go 1.5 and later.

I prefer this. There is no reason people can't upgrade go version.

harukasan commented 9 years ago

RGB JPEG is now supported at #14.