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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
| |
|
|
| 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 |
|
|