diff ChangeLog @ 29648:3b24193663bc

Change pidgin_convert_buddy_icon() to be more accommodating when attempting to scale a large buddy icon. I spent entirely too much time on this, but I'm pretty happy with the result. We now try to set increasingly lower quality levels when trying to save as a jpeg until we have an image that is smaller than the max file size limit specified by the prpl. If the image is still too large when quality level is 70, we'll try scaling down the image dimensions to be 80% of the size we just tried. Fixes #11565
author Mark Doliner <mark@kingant.net>
date Sat, 27 Mar 2010 21:29:18 +0000
parents 551109fcd61d
children 89de871ecffc
line wrap: on
line diff
--- a/ChangeLog	Sat Mar 27 03:55:09 2010 +0000
+++ b/ChangeLog	Sat Mar 27 21:29:18 2010 +0000
@@ -30,6 +30,8 @@
 	  Ctrl+v can be bound to 'Paste as Plain Text' by default.
 	* Plugins can now handle markup in buddy names by attaching to the signal
 	  "drawing-buddy". (Daniele Ricci, Andrea Piccinelli)
+	* Be more accommodating when scaling down large images for use as
+	  buddy icons.
 
 	Bonjour:
 	* Added support for IPv6. (Thanks to T_X for testing)