From 9d2f1e4c90fef725abf9ad5bb8d7e98719475ab0 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Thu, 29 Sep 2022 16:24:04 +0200 Subject: [PATCH] Remove debug output --- Sources/Generator/Files/ImageGenerator.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/Generator/Files/ImageGenerator.swift b/Sources/Generator/Files/ImageGenerator.swift index 5dde4b6..b953dad 100644 --- a/Sources/Generator/Files/ImageGenerator.swift +++ b/Sources/Generator/Files/ImageGenerator.swift @@ -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),