resize to max 600 px

This commit is contained in:
Ali Abid 2020-07-20 09:56:47 -07:00
parent 9a9c49c69d
commit d63eca24b7
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ const image_input = {
submit: function() {
var io = this;
if (this.state == "IMAGE_LOADED") {
resizeImage.call(this, this.image_data, 300, 300, function(image_data) {
resizeImage.call(this, this.image_data, 600, 600, function(image_data) {
io.io_master.input(io.id, image_data);
})
}

View File

@ -80,7 +80,7 @@ const image_input = {
submit: function() {
var io = this;
if (this.state == "IMAGE_LOADED") {
resizeImage.call(this, this.image_data, 300, 300, function(image_data) {
resizeImage.call(this, this.image_data, 600, 600, function(image_data) {
io.io_master.input(io.id, image_data);
})
}