ID:65484
 
Resolved
Fixed in 443
BYOND Version:440
Operating System:Windows XP Pro
Web Browser:
Status: Resolved (443)

This issue has been resolved.
Descriptive Problem Summary:

When setting a button's image, it'll look different than it was supposed to. (only tested with 32x32 images)

Screenshots :

- Before.
- After.

<edit by DarkCampainger>



Left image: actual icon
Center image: icon as displayed in button
Right image: overlay of the two

</edit>

Numbered Steps to Reproduce Problem:
- Create a skin button.
- Set it's image parameter to a 32x32 image.
- Observe how it's different.

Expected Results:
The icon stays the same.

Actual Results:
The icon is a bit different.

Does the problem occur:
Every time? Or how often? Always.
In other user accounts? Yes.
On other computers? Not tested.

Workarounds:
None that I have found.
I see absolutely no difference in the two screenshots whatsoever.
The Two Screenshots are exactly the same link, Andre.
Confirmed in BYOND 440.1018 on Windows XP Home SP3.

When using a .dmi as the image file for a button, a 1px blended border appears around the image.

I've edited the main post to include an image showing this.

This problem does not occur with other image file formats, such as .png or .jpg
Does the image have transparency? If so, this is probably happening because DS is trying to convert the image to a flat format, since buttons don't support transparent images as such. Without transparency there should be no such problem.
Images with alpha transparency are also blended with the background at the time of placement. This applies to all controls (previously it only worked for the output & grid).