Skip to content

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

Closed
@zbjornson

Description

@zbjornson

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions