cristik / vacuum-im

Automatically exported from code.google.com/p/vacuum-im
0 stars 0 forks source link

Avatar images are scaled with low quality #314

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Look at the avatar images, downscaled in the chat window (Adium style)
2. Look at the avatar images, downscaled in roster status pop-up balloons.
3. Look at the avatar images, downscaled at the roster items.

What is the expected output? What do you see instead?
High quality scaling (calculated average color for each pixel) expected. 
Instead, I see high quality image only in 3rd case (roster item avatar). In the 
1st and 2nd cases I see images scaled with low quality algorythm (either 
nearest neighbour, or dropped rows/columns).

Please, implement high quality scaling algorythm (calculating average color) 
for displaying avatar images everywhere.

Original issue reported on code.google.com by yagimo...@gmail.com on 20 Dec 2010 at 6:35

GoogleCodeExporter commented 9 years ago
In 3rd I load image from file and scale ше by myself in Qt class, in other 
cases I just send link to image file in HTML element <img/>, and I have no 
possibility to influence the scaling algorithm.

Original comment by potapov.s.a on 22 Dec 2010 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by potapov.s.a on 8 Jan 2011 at 2:42