Add `ImageIO` import allowing to build the tool using recent toolchain (#127)

Should resolve:
```
error: cannot find 'CGImageDestinationCreateWithURL' in scope
```
build errors.
This commit is contained in:
Marcin Chojnacki 2022-06-08 21:43:37 +02:00 committed by GitHub
parent 7f4df436eb
commit c30a8277f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#if os(macOS)
import Foundation
import ImageIO
extension CGImage {
func write(to url: URL) {