Remove debug output
This commit is contained in:
parent
39a53cdb1d
commit
9d2f1e4c90
@ -251,11 +251,7 @@ final class ImageGenerator {
|
||||
let sourceRep = image.representations[0]
|
||||
let destinationSize = NSSize(width: sourceRep.pixelsWide, height: sourceRep.pixelsHigh)
|
||||
.scaledDown(to: desiredWidth)
|
||||
//image.size.scaledDown(to: desiredWidth)
|
||||
|
||||
print("\(job.destination):")
|
||||
print(" Source: \(image.size.width) x \(image.size.height)")
|
||||
print(" Wanted: \(destinationSize.width) x \(destinationSize.height) (\(job.width))")
|
||||
// create NSBitmapRep manually, if using cgImage, the resulting size is wrong
|
||||
let rep = NSBitmapImageRep(bitmapDataPlanes: nil,
|
||||
pixelsWide: Int(destinationSize.width),
|
||||
|
Loading…
Reference in New Issue
Block a user