Skip to content

Commit

Permalink
2.15.0
Browse files Browse the repository at this point in the history
sindresorhus committed Mar 14, 2021

Verified

This commit was signed with the committer’s verified signature.
marekful Marcell Fülöp
1 parent 279ed87 commit 3c3b3c7
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gifski/Utilities.swift
Original file line number Diff line number Diff line change
@@ -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)
4 changes: 2 additions & 2 deletions Shared.xcconfig
Original file line number Diff line number Diff line change
@@ -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.