Why am I getting a black background around my images when resizing even when Bitmap is set to Graphics.Clear(Color.Transparent)?

No, you made that background red, not black. Use Color. Transparent if you want to have the alpha of the background set to 0.

Or just omit the Clear(), it is the default for a new bitmap. And avoid Original. RawFormat in the Save() call, you don't want to use an image format that doesn't support transparency.

Png is always good. And be sure that whatever method you use to display the resulting bitmap supports transparency as well. With a well defined background color.

You'll get black when it doesn't, Color. Transparent has R, G and B at 0. Black.

If it is jpg, the it is probably because jpg does not support transparency. You can try to use an output format of PNG which does support transparency.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions