TPNGImage help

TPNGImage

Components > TPNGObject > Methods > Assign


Assigns contents from another bitmap or png object.

procedure
Assign(Source: TPersistent);

Description

Use assign method to assign contents from a TBitmap object or from another TPNGObject. When assigning from a TBitmap, the component will set the current Portable Network Graphics image to use the same bit depth and color type as the bitmap.