PDA

View Full Version : Dark dots on my maps and graves


AndrewAni2
8 Jun 2006, 11:40
hey partners

I've got a problem with tiny dark spots, possibly black, appearing on my maps, as seen here, especially the area under the red worm with 47 health: http://andrewanimation.com/bleh.bmp

It happens all the time to my graves too. I only decided to find out if anyone knows why those spots appear when it started to happen to my maps too. Any help'd be great. Thanks

Oh the game is WA, beta patch

Run
8 Jun 2006, 11:47
Apparently this is caused by jpeg compression... use PNG format instead.

AndrewAni2
8 Jun 2006, 12:16
thanks for the response xD

I do use png for my maps, though.

bonz
8 Jun 2006, 15:12
thanks for the response xD

I do use png for my maps, though.
Well, if you use .jpg images while creating the map this will happen too.

AndrewAni2
11 Jun 2006, 14:19
Are you positive about that? I'm assuming you made maps before, but it just seems strange to me that if you save a file as a PNG, it would remember that some portions of it were JPGs before. It's possible, I'm just unsure, because I believe I've made PNG's out of JPG images before, that have worked out perfectly.

Also, I haven't tried transparency in graves until today, and I can't seem to get rid of the black box shape, even though I've checked to make sure it's 0,0,0 black. Anything I don't know here?
Thanks.

Lex
11 Jun 2006, 14:46
If you save anything as PNG, it will look exactly the same as when you saved it with any other format, as it is a lossless format. You can not magically increase the quality of an image by saving it to a lossless format, if you've already decreased its quality with a lossy (JPG) format.

Original, uncompressed image as a set of bits: 10111010
Image file with lossy compression: 1111
New lossy image file completely decompressed: 10101010
Image file resaved with a lossless format: 1111
New lossless image file completely decompressed: 10101010

Now, look at that. The new lossless PNG file doesn't create bits that were lost in the lossy compression.

AndrewAni2
11 Jun 2006, 15:11
Lol, thanks for that display xD I'm pretty sure I've made PNGs from JPGs before that did work out perfectly, but I always save JPGs as Quality 8-12, so that's why they might have worked. As for the images that didn't work, I always imagined that when I got to the step where I saved the image as a 64-color gif, which I do before turning the new gif into a PNG that'll work in the game, it turns it into an image of 64 colors, no more, no less, which is why I expected every pixel to be as it is in-game, being 64 colors all-around.

Thanks for the help, anyhow =) I'm sure your explanations are correct. Thankfully, only 2 of my many maps have that problem, so I might as well let it be.

Hey hey, I just found out what it is. It seems there's a certain color, possibly perfect white, but I'm not sure, that'll turn into those dark dots. If anyone makes maps the way I do, then you first save the PSD file as a 64-color GIF in Photoshop, as the method of turning it into the required 64 colors. Well, at the right side of the screen when saving it as a GIF, where you choose '64 colors,' the 64 colors used in the resulting image are displayed as squares. If one square has a dot in it, it signifies that color'll turn into dark dots in the game. Select that square, delete it by hitting the trash can icon at the bottom right, then hit the 'add color' icon by it to make it 64 colors again instead of 63. Now save that gif and open it again, save it as a PNG and viola, the map's now clean in game. <3