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

Missing preprocessor directives in Canvas.cc for when libjpeg isn't available #1196

Closed
zbjornson opened this issue Jul 6, 2018 · 0 comments
Labels

Comments

@zbjornson
Copy link
Collaborator

I broke this in #1152 probably.

../src/Canvas.cc: In static member function ‘static void Canvas::ToJpegBufferAsync(uv_work_t*)’:
../src/Canvas.cc:209:90: error: ‘write_to_jpeg_buffer’ was not declared in this scope
   write_to_jpeg_buffer(closure->canvas->surface(), closure, &closure->data, &closure->len);
@zbjornson zbjornson added the Bug label Jul 6, 2018
zbjornson added a commit to zbjornson/node-canvas that referenced this issue Jul 7, 2018
zbjornson added a commit that referenced this issue Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant