Shoutbox

Stretch, or Resize Images? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Skinning (/forumdisplay.php?fid=41)
+----- Thread: Stretch, or Resize Images? (/showthread.php?tid=81039)

Stretch, or Resize Images? by Keikonium on 01-18-2008 at 03:40 PM

Is it possible to stretch an image (or resize it) to the boundries of the element that it is located in? Basically, I am having a problem with my toasts:
[Image: toastbgfrigged.png]

The background I am using is about 1600x1200, which is obviously way bigger than the toasts, and it seems that it's only showing a portion of the image. I am using the same image for my main background of WLM, and it stretches and resizes with WLM, but I can't figure out how it does it.

So is there a way to make a large image scale down to fit within the boundries of the element that it is located in?

Thanks :).


RE: Stretch, or Resize Images? by Spunky on 01-18-2008 at 05:01 PM

won't UMLEFT and stuff stretch it smaller?


RE: Stretch, or Resize Images? by Keikonium on 01-18-2008 at 05:12 PM

Ah, wonderful, that works ^_^. Thank you SpunkyLoveMuff :).
Here it is now:
[Image: toastlookingbeter.png]
It still needs some touching up to look how I want it, but at least it's mostly readable now :).


RE: Stretch, or Resize Images? by Menthix on 01-18-2008 at 05:20 PM

BTW: I wouldn't use a 1600x1200 image for toast windows. Toasts have a fixed size, so you wouldn't loose quality if you save the image in a smaller size and use that to save filesize in your skin package.


RE: RE: Stretch, or Resize Images? by Keikonium on 01-18-2008 at 05:23 PM

quote:
Originally posted by MenthiX
BTW: I wouldn't use a 1600x1200 image for toast windows. Toasts have a fixed size, so you wouldn't loose quality if you save the image in a smaller size and use that to save filesize in your skin package.

The reason I am using such a large image is because it is the same image I am using as the main background of my contact list, and the same background as the chat windows. I need it to be fairly sharp quality so it scales well on larger monitors :).
RE: Stretch, or Resize Images? by Spunky on 01-18-2008 at 06:29 PM

You could always select a square and turn that into a new image. So you have the big image for the bg and a cut-out for the toast window.


RE: Stretch, or Resize Images? by warmth on 01-18-2008 at 07:12 PM

quote:
Originally posted by SpunkyLoveMuff
You could always select a square and turn that into a new image. So you have the big image for the bg and a cut-out for the toast window.
that will add more size to your final plsk file... I suggest to resize the 1600x1200 image to a 1280x1024 image (reducing a way or his quality, at least 50%) and use the same image for all... this will be very very good for the final result... and you will no longer to see the difference :P
RE: Stretch, or Resize Images? by Keikonium on 01-18-2008 at 07:40 PM

Currently my .plsk is only 244 KB with the image at 1600x1200 AND everything else included so far. So I am not worried about size at the moment. If my .plsk gets to large, I'll make the image a bit smaller, but for now I am leaving it as it is since it all works and looks good to me.


RE: Stretch, or Resize Images? by Spunky on 01-18-2008 at 08:04 PM

quote:
Originally posted by warmth
that will add more size to your final plsk file...

What will? Adding a ~20-30Kb file?

RE: Stretch, or Resize Images? by warmth on 01-18-2008 at 08:28 PM

quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by warmth
that will add more size to your final plsk file...

What will? Adding a ~20-30Kb file?
yes but we were talking here about the use of a big image as a wrong thing cuase the file size and you want to add more??? :P

RE: Stretch, or Resize Images? by Nagamasa on 01-21-2008 at 03:32 AM

Speaking of toasts, what is the exact dimensions of the toast?


RE: Stretch, or Resize Images? by deAd on 01-21-2008 at 03:55 AM

The toasts are 201x116.


RE: Stretch, or Resize Images? by Basilis on 01-27-2008 at 10:54 AM

What is the exact Id for the toast background? I have another picture I want to add that is different with the Sign in window background.


RE: Stretch, or Resize Images? by Nagamasa on 01-27-2008 at 03:02 PM

quote:
Originally posted by Basilis
What is the exact Id for the toast background? I have another picture I want to add that is different with the Sign in window background.
The toast background is the same ID as all the other backgrounds. It is 20061.

RE: Stretch, or Resize Images? by vaccination on 01-27-2008 at 03:25 PM

IIRC, to set a seprate background to the toasts, you need to edit the 921 Style.

search for

code:
Element[ID=Atom(ai181)]
and add
code:
Background:rcbkd(<image id>);

ending up with
code:
Element[ID=Atom(ai181)]
{
Background:rcbkd(59002);
}

You will also need to do the same for (ai191) and (ai186)