# CreateImageFromPNGMemblock

## Description

Creates an image from a memblock. The memblock must exist, if the image exists it will be overwritten, if not it will be created. The memblock must contain a valid PNG file such as one loaded with CreateMemblockFromFile(memID, "image.png")

## Definition

CreateImageFromPNGMemblock( uint32_t imageID, uint32_t memID )

void agk::CreateImageFromPNGMemblock( uint32_t imageID, uint32_t memID )

2_t agk::CreateImageFromPNGMemblock( uint32_t memID )

uint32_t agk::CreateImageFromPNGMemblock( uint32_t memID )

## Parameters

- imageID - The ID of the image to create.
- memID - The ID of the memblock to read, the memblock is unaffected by this command.