function resizeToBlob (i) {
							var d = $.Deferred();
							self.resizeImage(images[i], IMAGE_RESIZE_WIDTH).toBlob(function (blob) {
									uploadPictureTasks.push(uploadPicture(i, blob));
									d.resolve();
							},
							'image/jpeg', IMAGE_RESIZE_QUALITY);
							return d.promise();
						}
// This function makes a canvas.toBlob task for converting a resized image to jpeg for uploading
This function makes a canvas.toBlob task for converting a resized image to jpeg for uploading
This function makes a canvas . toBlob task for converting a resized image to jpeg for uploading
function resizeToBlob (i) {
							var d = $.Deferred();
							self.resizeImage(images[i], IMAGE_RESIZE_WIDTH).toBlob(function (blob) {
									uploadPictureTasks.push(uploadPicture(i, blob));
									d.resolve();
							},
							'image/jpeg', IMAGE_RESIZE_QUALITY);
							return d.promise();
						}
function resizeToBlob ( i ) { var d = $ . Deferred ( ) ; self . resizeImage ( images [ i ] , IMAGE_RESIZE_WIDTH ) . toBlob ( function ( blob ) { uploadPictureTasks . push ( uploadPicture ( i , blob ) ) ; d . resolve ( ) ; } , 'image/jpeg' , IMAGE_RESIZE_QUALITY ) ; return d . promise ( ) ; }
This function makes a canvas.toBlob task for converting a resized image to jpeg for uploading
This function makes a canvas . toBlob task for converting a resized image to jpeg for uploading