--===============0202355474== Content-Type: multipart/signed; boundary="nextPart1281188.Z4WYKgu4yT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1281188.Z4WYKgu4yT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 05 December 2005 18:43, Xavier FACQ wrote: > Hi, > > But in the tooltip's code the image is included in an HTML section (img > src=3D...), > so I think it's not possible to resize it "on the fly" (is it ?)... but > we can add width > and height tags to set it ou 96x96. Can I write something like that ? > > bye, > Xavier Can I ask why 96x96? Is it because some odd protocol has such a restriction= ? I=20 agree that so big photo is too big, and it should be made smaller. But I al= so=20 think that under some reasonable size, it should be left as it is, lets say= ,=20 what is smaller than 150 pixel would be OK and left. I do not like the idea= =20 of resizing every imager that comes from something, that does not have the= =20 restriction, and has a size 100x100 (many users will make such a size) to=20 resize it to 96x96. I think that the extremely big pictures should be resized, but the reasonab= le=20 ones should be kept like they are. > Matthias Granberry a =E9crit : > > That's easy too. QImage::smoothScale( width, height, QImage::ScaleMin ) > > will preserve the aspect ratio. In fact, afaict, any instance of scali= ng > > in kopete that isn't using QImage::ScaleMin is a bug. > > > > On Sunday 04 December 2005 12:12, Xavier FACQ wrote: > >>Hi, > >> > >>I tried with a 1024x748, it make a BIG BIG tooltip ! :-) > >>Looking at the code, it's "easy" to resize the photo to the > >>good size in the tooltip. but I need to know what is the default > >>size for the photo in msn for exemple ? Another problem is that > >>proportions need to be keeped... > >> > >>bye, > >>Xavier > >> > >>Tim Hutt a =E9crit : > >>>------- You are receiving this mail because: ------- > >>>You are the assignee for the bug, or are watching the assignee. > >>> > >>>http://bugs.kde.org/show_bug.cgi?id=3D117612 > >>> Summary: Custom photos not resized to a reasonable size in > >>> tooltips > > _______________________________________________ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel =2D-=20 Windows are like.. windows. Shiny but fragile and expensive. Michal Vaner (Vorner) --nextPart1281188.Z4WYKgu4yT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDlI0f7/oWwynB3bIRAnV8AJ9qFx+Fe1IS+Tubc6k8qA6xkYY1fwCfUaSA deHZaE52Iz/VIM+iMxs8dKE= =W+6+ -----END PGP SIGNATURE----- --nextPart1281188.Z4WYKgu4yT-- --===============0202355474== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel --===============0202355474==--