Spade-Editor / Spade

Cross-platform raster graphics editor inspired by Paint.NET
GNU General Public License v3.0
41 stars 10 forks source link

Fix TGA Exporter #28

Closed HeroesGrave closed 10 years ago

Longor1996 commented 10 years ago

The TGA exporter works as long as it gets a valid BufferedImage it can read from. There is probably something wrong with the Image that the TGA-Exporter gets to write to disk.

HeroesGrave commented 10 years ago

When you have transparency, things go funny.

I had two layers. The top was translucent blue, the bottom was an opaque black line. I exported it and opened it in Pinta, and it was translucent grey/black on top, and solid blue underneath.

I'll have to try again, as it could've been an error with my blending.

Longor1996 commented 10 years ago

I just did some testing. I created a Image that contained a bunch of colors, then saved it as TGA, then opened it in Paint.NET. The result is that the image is correctly loaded and displayed.

I think something with either Pinta, or the blending has to be wrong. You should go and check if Pinta can correctly read the TGA format at all. (Test it with a Image, one layer, a bunch of different colors, save as TGA, open in Pinta)

HeroesGrave commented 10 years ago

Ah, okay.

Good to know I didn't break anything while converting to the new drawing system

Closed.