3

We are grabbing and storing image metadata in the success callback from a filepicker.pickAndStore(). Right now we are getting the dimensions using filepicker.stat():

// file is an object returned from the success callback
filepicker.stat(file, { width: true, height: true }, function(metadata) {
  // our app code
});

We'd like to have the width and height return the dimensions for the rotated image (using rotate=exif). What's the easiest way to do this?

Chris Schmitz
  • 8,097
  • 6
  • 31
  • 41

0 Answers0