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
Is this package fully built out? Several of the features do not seem to connect? Or maybe we are missing something in the implementation. Can you provide an example of how to include s3_destination parameters for addFunction / addSave?
We see the the S3Destination in the lib.
The text was updated successfully, but these errors were encountered:
The simplest route is to just addSave(image_identifier, destination_bucket, destination_key) to a function.:
var Blitline = require('<PATH TO YOUR>/lib/blitline');
var blitline = new Blitline();
/* Replace MY_APP_ID with your Blitline application_id */
var job = blitline.addJob("MY_APP_ID", "http://www.google.com/intl/en_com/images/srpr/logo3w.png");
var blur_function = job.addFunction("blur", null, "my_blurred_image");
var crop_function = blur_function.addFunction("resize_to_fill", { width: 50, height: 50}, "my_blurred_cropped_image");
crop_function.addSave("my_image", "bltemp", "sample/foo.jpg");
blitline.postJobs(function(response) {
console.log(response);
});
This requires the destination_bucket and the destination_key to have permission for Blitline to write to them (as documented here: http://www.blitline.com/docs/s3_permissions)
Does that help? I can help you with a more examples if you'd like.
Is this package fully built out? Several of the features do not seem to connect? Or maybe we are missing something in the implementation. Can you provide an example of how to include s3_destination parameters for addFunction / addSave?
We see the the S3Destination in the lib.
The text was updated successfully, but these errors were encountered: