Create 2x images explicitly

This commit is contained in:
Christoph Hagen
2022-08-28 14:02:13 +02:00
parent ab2bc663ec
commit f2b4851599
2 changed files with 10 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ final class FileSystem {
}
@discardableResult
func requireImage(source: String, destination: String, width: Int, desiredHeight: Int? = nil, createDoubleVersion: Bool = false) -> NSSize {
func requireImage(source: String, destination: String, width: Int, desiredHeight: Int? = nil) -> NSSize {
let height = desiredHeight.unwrapped(CGFloat.init)
let sourceUrl = input.appendingPathComponent(source)
let image = ImageOutput(source: source, width: width, desiredHeight: desiredHeight)