K
K
krka922019-09-11 18:57:05
Delphi
krka92, 2019-09-11 18:57:05

How to draw to buffer with transparent background GDI+?

Hello everybody.
Can GDIP draw to a buffer without a background? So that the output is a matrix of pixels of only those that I have drawn.
I need this so that I can apply any algorithms to the rendered fragment (blur for example).
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hemul GM, 2019-09-18
@krka92

You can use a 32 bit bitmap as a buffer and draw any fragments without a background on it.
A 32-bit bitmap is like uncompressed png.
Here is an example. I draw icons and text on GlassFrame.
5d819ab98dcea452184807.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question