[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] [Bug 117612] New: Custom photos not resized to a
From:       "Michal Vaner \(Vorner\)" <michal.vaner () kdemail ! net>
Date:       2005-12-05 18:55:16
Message-ID: 200512051955.27403.michal.vaner () kdemail ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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=...),
> 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 
agree that so big photo is too big, and it should be made smaller. But I also 
think that under some reasonable size, it should be left as it is, lets say, 
what is smaller than 150 pixel would be OK and left. I do not like the idea 
of resizing every imager that comes from something, that does not have the 
restriction, and has a size 100x100 (many users will make such a size) to 
resize it to 96x96.

I think that the extremely big pictures should be resized, but the reasonable 
ones should be kept like they are.

> Matthias Granberry a écrit :
> > That's easy too.  QImage::smoothScale( width, height, QImage::ScaleMin )
> > will preserve the aspect ratio.  In fact, afaict, any instance of scaling
> > 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 écrit :
> >>>------- 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=117612
> >>>           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

-- 

Windows are like..
windows. Shiny but fragile and expensive.

Michal Vaner (Vorner)

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic