Don't use strings for numbers ! That's a ugly way to do that... I will commit it differently... Phil
square87 a écrit : > Hello. > There is a problem with resizing smiles. > Sometimes ResizeWithRatio return an image more big than original. > > mydiff: > we check the original width and height size, if widht or height size is > more than 50 we save the original size to calculate a proportion then if > widht (or height) proportion result is minor than 19 we set it (or > height) to 19, as msn does. Then we call: ::picture::Resize $image > $width $heigh > > Problem: > This two _problem_ are introduced since -r8634 > 1) If we add a new smile, until when we restart aMSN we will see in > chatwindow the original size... > 2) Some resized images have a different background in respect to > original images. > > Thanks, bye. > Square87 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Amsn-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/amsn-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Amsn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amsn-devel
