Bug 278634 - x11/cinnamon: cinnamon-settings user doesn't change the user avatar
Summary: x11/cinnamon: cinnamon-settings user doesn't change the user avatar
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-28 12:15 UTC by fodef64090
Modified: 2024-04-28 12:30 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fodef64090 2024-04-28 12:15:44 UTC
When using cinnamon-settings user, it doesn't change the user avatar.

I am getting the error:

AttributeError:module 'PIL.Image' has no attribute 'ANTIALIAS'

I solved changing:
image.thumbnail((255, 255), Image.ANTIALIAS)
to
image.thumbnail((255, 255), Image.LANCZOS)

And now it works.