I am building an application that has “virtual windows”. The output is TImage object.
1) The application loads window skin files into TPNGObject‘s:

2) Then application has to create a new blank TPNGObject, and resize the skin files to needed sizes and draw them on that blank image. Should look something like this:

3) And the final output on TImage:

The problem is that I do know how to create a completely blank off screen image. Of course I could simply render the skin files on to TImage each time, but it’s easier and better to resize skin files and create the window once, instead.
I’m using the PNG Library by Gustavo Daud, version 1.564 (31st July, 2006).
I apologize to people that I messed their heads up.
It turns out
CreateBlankworks as wanted. The problem was that I was drawing PNG on PNG canvas (PNG.Canvas.Draw).Canvasdoesn’t really support transparency. To draw a translucent PNG on another PNG you will need a procedure/function that merges those both layers together. With some googling I ended up with this procedure:Usage:
And again, I am really sorry to users that wanted to help, but couldn’t due to not understanding me.