So far I've been loading PNGs as tilesets (which BYOND will slice into tiles because my map format is TILED_ICON_MAP). Using a color as a transparent mask, I have BYOND load the PNG, use icon.SwapColor() to turn the color transparent, and then store it into memory.
The issue is that the webclient starts to tell me that things are being rendered incorrectly. This screencap may be relevant:
![](http://i.imgur.com/mgkxnmi.png)
The modified image will not render for me in the webclient and shows some bizarre effects in DreamSeeker. I can see things properly if I reboot the client on either DS or Webclient, but if I try a different image, it happens again. This may be a cache issue.
I've tried to check what may be the issue such as making sure that the PNG that is being saved is 32-bit format and not 24-bit, but it happens either way. This issue does not happen if I'm using SwapColor on the icon but it does happen if I attempt to load an image with transparent pixels. If the PNG has all colored pixels and no transparency, then there is no issue whatsoever.
The issue also happens if I'm using single-quotes to cache the PNGs beforehand so that is not the problem.
edit: Setting the PNGs to a power of 2 does not remedy this problem.
If you have a demo project I can take a look.