ios - How to get original image size if there is no filter applied to the selected image in Adobe Creative SDK? -
i have image with size (2448, 3264) , pass image imageeditorcontroller adobeimageeditorcustomization output image size automatically change (1536, 2048). if didn't apply filters of adobeimageeditorcustomization.
using following code
adobeimageeditorcustomization.settoolorder([ kadobeimageeditororientation, kadobeimageeditorcrop, kadobeimageeditorcoloradjust ]) adobeimageeditorcustomization.setcroptoolcustomenabled(false) adobeimageeditorcustomization.setcroptooloriginalenabled(true) self.imageeditorcontroller = adobeuximageeditorviewcontroller(image: self.capturedimage) self.imageeditorcontroller?.delegate = self self.present(self.imageeditorcontroller!, animated: true, completion: nil)
//delegate
func photoeditor(_ editor: adobeuximageeditorviewcontroller, finishedwith image: uiimage?) { let isize = image.size (1536, 2048) //without applying filters
how original image size if there is no filter applied selected image?
Comments
Post a Comment