Skip to content

Comments

getbbox() update for Pillow>=10.0.1#214

Open
Pancham1603 wants to merge 1 commit intoLayout-Parser:mainfrom
Pancham1603:main
Open

getbbox() update for Pillow>=10.0.1#214
Pancham1603 wants to merge 1 commit intoLayout-Parser:mainfrom
Pancham1603:main

Conversation

@Pancham1603
Copy link

getsize() is deprecated and replaced with getbbox() in Pillow>=10.0.1

IgorTavcar added a commit to IgorTavcar/layout-parser that referenced this pull request Feb 21, 2026
getsize() was removed in newer Pillow versions. Uses getbbox() which
returns (left, top, right, bottom) to compute text dimensions instead.

From: Layout-Parser#214 (Pancham1603)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant