bitmap - Color replacement GDI C# -
replace bitmap black pixels transparency gdi c#
hey guys, im working on 2d engine renders sprites. , need replace de black pixels in bitmaps transparency; bitmap below seen.
is possible in gdi+ ? how? because i've been trying colormaps & attributes , not working fine.
as 2d engine game, efficient library? or should use one?
what about:
bitmap bm = new bitmap(width, height); bm.maketransparent(color.black); gdi+ not best solution game. far game not require high performance can use it. when needs power, have use libraries opengl or direct2d/direct3d.
Comments
Post a Comment