Im actually not setting the alpha channel... should I be?
everything appears white, I have a foreground layer of text, if I
change the text to say blue, the whole image still appears white...
the background is a filled rectange with the color black..
> Im actually not setting the alpha channel... should I be?
>
> everything appears white, I have a foreground layer of text, if I
> change the text to say blue, the whole image still appears white...
>
> the background is a filled rectange with the color black..
When you say "I have a foreground layer", I don't know what you mean.
Neither the Java class "Image" nor the PNG file format supports layers.
I also don't know what software you are using to view your PNG.
What I'm getting at is maybe whatever image you were rendering is all
there, except it's completely transparent, and your viewing-software is
rendering it by first drawing a completely white background, and then
drawing your image on top of that background. Except your image is
completely transparent, which is why you see a white rectangle regardless of
what contents you put in the PNG file.
- Oliver