Skip to content

Frontend image resizing support #84

@fyyyyy

Description

@fyyyyy

Hello

Since performance is quite hefty when people resize huge images, i have found some nice bicubic/bilinear filters for resizing images in the frontend via canvas.
http://jsfiddle.net/9g9Nv/96/
http://jsfiddle.net/amthrb4u/

However i can only upload the image via a hidden input as base64 string (haven't found a better way without using XHR). Also i can convert the base64 to binary on the server. But is there a way to pass this binary data to imager ?

  var base64Data = req.body.resized_image;
  images = [new Buffer(base64Data, 'base64').toString('binary')]; // doenst work with imager

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions