Problems with Resize function

Saturday, October 8, 2005 by jvanderbeck | Discussion: DesktopX

I wonder if anyone can help me with this. I have seen SEVERAL widgets and objects etc that use the Resize function to make the image it uses bigger. However when these objects do this the image seems to be not just stretched out and ugly but actually resized in a clean manner so it doesn't look like crap. When I use the Resize function though my image just gets stretched out and looks like crap. I've even tried doing this with the EXACT same images.

I'm pretty much at my wits end here. Can anyone help me?
ExodusCrow
Reply #1 Saturday, October 8, 2005 11:38 AM
The first thing you have to look at is the size of your image. Is it small to begin with? Are you blowing up an image, or restoring it to its original size.

If you start with an image, say 256px x 256px, and shrink it to 72x72, it will still look decent. This is because all the computer has to do is remove some redundant pixels. If you give the option of resizing it to 256, the image looks crisp because that is the original size of the image.

If you were to take an image of 72px x 72px and try to blow it up to 256px, it'll look stretch and pixelated. This is because the computer is trying to add pixels to make it look good. This will almost always look terrible.

The first ting I’d try would be to start with an image a little larger than the size you start out with. Don’t make it any larger than the largest you’ll have the user resize it too. If you do this, the file size would end up being much larger than desired. Also remember that DX has a create resize function: Object.Resize Size,Size (size is a variable in pixels)

Hope this helps.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01