change resolution and size of image with cocoa/osx/swift (no mobile apps)
问题 I try to change the size and the resolution of an image programmatically, afterwards I save this image. The imagesize in the imageView is changing, but when I look at my file "file3.png" it always has the original resolution of 640x1142. I googled around but can't find a solution. I try to redraw the image. But maybe it's the wrong strategy. thanks @IBAction func pickOneImageBtn(sender: AnyObject) { //load image from path pickedImage.image = loadImageFromPath(fileInDocumentsDirectory(