Skip to content

Conversation

@radarhere
Copy link
Member

# experimental access to the outline API
Outline: Callable[[], Image.core._Outline] | None
try:
Outline = Image.core.outline
except AttributeError:
Outline = None

The AttributeError here would have happened previously if WITH_ARROW was not defined in C.

#8211 removed the #ifdef WITH_ARROW however, and so now, it is always defined.

@hugovk hugovk merged commit a4f5fea into python-pillow:main Mar 3, 2025
54 of 55 checks passed
@radarhere radarhere deleted the outline branch March 3, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants