Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/VerifyChanges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@ jobs:
xcode_destination: "platform=macOS,arch=arm64"
- platform: tvOS
xcode_destination: "platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p)"
- platform: watchOS
xcode_destination: "platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation)"
env:
DEV_BUILDS: DevBuilds/Sources
OTHER_XCODE_FLAGS: ${{ matrix.other_xcode_flags }}
XCCOV_PRETTY_VERSION: 1.2.0
XCODE_SCHEME: DevColorExtraction
XCODE_DESTINATION: ${{ matrix.xcode_destination }}
XCODE_TEST_PLAN: AllTests
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -84,7 +81,7 @@ jobs:
- name: Log Code Coverage
if: github.event_name != 'push'
run: |
xcrun xccov view --report .build/DevColorExtraction-Package_test.xcresult --json \
xcrun xccov view --report .build/DevColorExtraction_test.xcresult --json \
| ./xccovPretty --github-comment \
> .build/xccovPretty-${{ matrix.platform }}.output
- name: Upload Logs
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

This is the first release of DevColorExtraction. The initial feature set includes

- Extracting the most common colors from a `CGImage` using k-means clustering
- Extracting the most common colors from a `CGImage` using CoreImage’s k-means clustering filter
- Support for edge-based color extraction (top, left, bottom, and right edges)
- Configurable number of colors and clustering passes
1 change: 0 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ let package = Package(
.iOS(.v18),
.macOS(.v15),
.tvOS(.v18),
.watchOS(.v11),
],
products: [
.library(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DevColorExtraction is a Swift package that extracts the most common colors from images using
k-means clustering. It provides efficient color analysis with support for edge-based extraction and
is fully documented and tested. It supports iOS 18+, macOS 15+, tvOS 18+, and watchOS 11+.
is fully documented and tested. It supports iOS 18+, macOS 15+, and tvOS 18+.

View our [changelog](CHANGELOG.md) to see what’s new.

Expand Down
Loading