Should resize large photo when applying as an avatar
Activity
Show:

wroot March 25, 2017 at 10:30 AM
Issue with stretching moved to

wroot March 25, 2017 at 8:48 AM
Current solution stretches smaller images to 64x64 size and makes them blurred. Would be better to not change smaller images.
Not sure if this is even possible (maybe by adding some image resizing API, or maybe Java already has one). Currently if a user chooses very large image as an avatar (e.g. 3000x5000 pixels and lots of MB) it then takes a few seconds for the other party to open a chat windows with that person. There is already a plugin for Openfire to resize vCard stored avatars, but when using different server that might not be an option and Spark in itself could be more intelligent about that.