From 3c3b3c7cace613835eeeb6544b4fbf37e167401b Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 14 Mar 2021 19:43:03 +0700 Subject: [PATCH] 2.15.0 --- Gifski/Utilities.swift | 4 ++-- Shared.xcconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gifski/Utilities.swift b/Gifski/Utilities.swift index 83360b3..7acab54 100644 --- a/Gifski/Utilities.swift +++ b/Gifski/Utilities.swift @@ -3996,7 +3996,7 @@ extension CGImage { as pixelFormat: PixelFormat, premultiplyAlpha: Bool ) throws -> Pixels { - // For macOS 10.15 and older, we don't handle the `premultiplied` option as it never correctly worked before and I'm too lazy to fix it there. + // For macOS 10.15 and older, we don't handle the `premultiplyAlpha` option as it never correctly worked before and I'm too lazy to fix it there. guard #available(macOS 11, *) else { guard let image = converting(to: pixelFormat), @@ -4044,7 +4044,7 @@ extension CGBitmapInfo { /// The pixel format of the image. /// Returns `nil` if the pixel format is not supported, for example, non-alpha. var pixelFormat: CGImage.PixelFormat? { - // While the host byte order is little endian, default bytes are stored in big endian format. + // While the host byte order is little-endian, by default, `CGImage` is stored in big-endian format on Intel Macs and little-endian on Apple silicon Macs. let alphaInfo = self.alphaInfo let isLittleEndian = contains(.byteOrder32Little) diff --git a/Shared.xcconfig b/Shared.xcconfig index 0c8f12b..0f8d7d6 100644 --- a/Shared.xcconfig +++ b/Shared.xcconfig @@ -1,2 +1,2 @@ -MARKETING_VERSION = 2.14.0 -CURRENT_PROJECT_VERSION = 47 +MARKETING_VERSION = 2.15.0 +CURRENT_PROJECT_VERSION = 48