Skip to content

Commit

Permalink
2.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 14, 2021
1 parent 279ed87 commit 3c3b3c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gifski/Utilities.swift
Expand Up @@ -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),
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Shared.xcconfig
@@ -1,2 +1,2 @@
MARKETING_VERSION = 2.14.0
CURRENT_PROJECT_VERSION = 47
MARKETING_VERSION = 2.15.0
CURRENT_PROJECT_VERSION = 48

0 comments on commit 3c3b3c7

Please sign in to comment.