You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
I'm trying to use parse-image with the new parse server.
My code in parse cloud load an image from a URL and uses the parse image module library to manipulate it.
return Parse.Cloud.httpRequest({
url: url
}).then(function (response) {
var image = new Image();
return image.setData(response.buffer);
});
The URL I've been using for testing is: http://lorempixel.com/500/500/cats/.
This all work nicely on Parse.com when trying the same code with the local parse server and parse image I notice few things:
the response does not contain buffer anymore. it is just the raw data.
when passing the data to parse-image using image.setData(response); I get an error from gm