#1 2014-01-31 15:43:47

geraldholdsworth
Member
Registered: 2014-01-31
Posts: 1

PNG Transparency

Hi all,

I've had a search through the forums, and a scan through the documentation, but I'm still none the wiser.

Basically, I have a Delphi application that produces a Bitmap (within an TImage control). I would like to offer the user the possibility of saving this image out as a PNG, with transparency (the bitmap currently has a black background which is required to be the transparent colour).

Cheers,

Gerald.

Offline

#2 2014-01-31 16:32:12

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,206
Website

Re: PNG Transparency

AFAIR there is yet no method able to make such a feature within the current state of SynGdiPlus.

Offline

#3 2018-06-11 15:47:23

ertank
Member
Registered: 2016-03-16
Posts: 163

Re: PNG Transparency

Hello,

I also need to add a transparency and set its color for PNG image. I chacked TPngImage class in the framework, but I only see Transparent property available.
It is possible I overlooked at something and would like to ask in here.
Is there any change in framework to include such a feature?

Thanks.

Offline

#4 2018-06-11 15:53:28

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,206
Website

Re: PNG Transparency

AFAIR there is yet no method able to make such a feature within the current state of SynGdiPlus.

Offline

Board footer

Powered by FluxBB