Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding *image.NRGBA #41

Open
subuk opened this issue Apr 7, 2017 · 2 comments
Open

Encoding *image.NRGBA #41

subuk opened this issue Apr 7, 2017 · 2 comments

Comments

@subuk
Copy link

subuk commented Apr 7, 2017

Hello, I'm currently using 'github.com/disintegration/imaging' for image transformations and want to encode resulting image to jpeg using mozjpeg with this bindings. But 'disintegration/imaging' library returns images in NRGBA format, which go-libjpeg cannot understand.

Should NRGBA be added to this bindings or should I convert image from NRGBA to one of supported color schemes?

@rikonor
Copy link

rikonor commented Sep 20, 2017

Am also in the same position, would be curious if there's any plans to support this.

@notnot
Copy link

notnot commented Jun 16, 2020

Same here...go-libjpeg.Decode() does not return an error, but the output file is 0 bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants