Skip to content

'ImageDraw' object has no attribute 'textsize' #31

Description

@Byproduct

Trying to use stylecloud gives me this error: 'ImageDraw' object has no attribute 'textsize'

I found this on stack overflow, sounds like it's probably the cause:

"The ImageDraw.textsize() method was deprecated in PIL version 9.2.0 and completely removed beginning with version 10.0.0 on 2023-07-01. The ImageDraw.textbbox() method was introduced in version 8.0.0 as a more robust solution."
https://stackoverflow.com/questions/76189891/imagedraw-object-has-no-attribute-textbbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions