Skip to content

Commit 228af6f

Browse files
committed
replace (incorrect) hardcoded CI constants
1 parent b2a6776 commit 228af6f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

coreimage/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@
9393
PATH_PADDING = 0
9494

9595
# Core Image constants.
96-
kCIFormatARGB8 = 23
97-
kCIFormatRGBA16 = 27
98-
kCIFormatRGBAf = 34
96+
from Quartz import kCIFormatARGB8, kCIFormatRGBA16, kCIFormatRGBAf
9997
QUALITY_LOW = "low"
10098
QUALITY_HIGH = "high"
10199

0 commit comments

Comments
 (0)