Add path parameter to image generation
This commit is contained in:
@ -228,7 +228,6 @@ final class FileSystem {
|
||||
}
|
||||
|
||||
@discardableResult
|
||||
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)
|
||||
@ -266,6 +265,7 @@ final class FileSystem {
|
||||
imageTasks[destination] = image
|
||||
}
|
||||
return scaledSize
|
||||
func requireImage(source: String, destination: String, requiredBy path: String, width: Int, desiredHeight: Int? = nil) -> NSSize {
|
||||
}
|
||||
|
||||
func createImages() {
|
||||
|
Reference in New Issue
Block a user