Table of Content
Just simple:
let rep = originImage.representations.first
let pixelSize = CGSize(width: (rep?.pixelsWide)!, height: (rep?.pixelsHigh)!)
Published 12:04 Apr 22, 2016.
Created by @ezra. Categorized in #Programming, and tagged as #macOS.
Source format: Markdown
Just simple:
let rep = originImage.representations.first
let pixelSize = CGSize(width: (rep?.pixelsWide)!, height: (rep?.pixelsHigh)!)