generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Image loses quality when applied to ImageButton?

Previous Thread :: Next Thread 
ked2000 is not online. ked2000
Joined: 10 Jul 2011
Total Posts: 1059
04 Jun 2016 03:09 PM
When I add a 246x246 image to a ImageButton that has a absolute size of 20x17, the image loses significant quality(pixelated and stretched).

How can I ensure that the image retains the same quality from the source file to the ImageButton?
Report Abuse
sentry3 is not online. sentry3
Joined: 01 May 2010
Total Posts: 538
04 Jun 2016 03:11 PM
I would just upload it as a decal then use the ID. Use this in the image id part (http://roblox.com/asset/?id=) file paths arent always the way to go and can result in only u seeing the picture and no one else.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Jun 2016 03:13 PM
you need you upload a huge picture so that the quality loss will be minimal


Report Abuse
ked2000 is not online. ked2000
Joined: 10 Jul 2011
Total Posts: 1059
04 Jun 2016 03:14 PM
@sentry3

Noted.

Is there any way to fix the quality problem though?
Report Abuse
sentry3 is not online. sentry3
Joined: 01 May 2010
Total Posts: 538
04 Jun 2016 03:18 PM
Make the picture bigger in a photo prgram or something not sure, you image just may be too small..
Report Abuse
ked2000 is not online. ked2000
Joined: 10 Jul 2011
Total Posts: 1059
04 Jun 2016 03:34 PM
So I exported my icon at 2100x2100 and it's still looks just the same as before. Do I need to go even higher or something?
Report Abuse
WoolHat is not online. WoolHat
Joined: 19 May 2013
Total Posts: 1873
04 Jun 2016 03:39 PM
a 20x17 sized box is not going to hold the true image's appearance as a larger one would. As the image gets squished, pixels have to be estimated, and get removed to get a "best guess". Make the imagelabel larger.

Also, because it's a squared image on a 20x17 box, it will be stretched by nature.
Report Abuse
ked2000 is not online. ked2000
Joined: 10 Jul 2011
Total Posts: 1059
04 Jun 2016 03:52 PM
So there's no way to scale it down perfectly?

Is there an alternative because I can't make the ImageButton too big and there's no way to make a circle button in ROBLOX(as far as I know of).
Report Abuse
Iliuminatis is not online. Iliuminatis
Joined: 30 Nov 2008
Total Posts: 1524
04 Jun 2016 04:19 PM
There is this thing called "Resolution". If your image resolution is 20x20 and you need 200x200 size button, it will never look good. You can resize your image but that will just stretch it making it look worse.

In your case, I suggest this: use Image button size 20x20, because your image is 1:1 resolution. You can't use something like 2:1 button with 1:1 resolution image. The button size and image has to be proportional.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Jun 2016 04:20 PM
what is the picture



Report Abuse
Iliuminatis is not online. Iliuminatis
Joined: 30 Nov 2008
Total Posts: 1524
04 Jun 2016 04:21 PM
I've had the same issue, all I had to do is use paint.net program to scale down my image.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image