Index

Package: Resources.Images

Description

package Resources.Images is

Subprograms & Entries

Is_Format_Supported

function Is_Format_Supported
( format: String )
return Boolean;

References:

resources-images.ads:9:14 (declaration)
resources-images.adb:60:14 (body)
resources-images.adb:65:9 (label)

Calls:

To_Lower defined at a-chahan.ads:68:13
Returns True if the given format is supported. The format string is the image format file extension without a leading dot character.

Load_From_Memory

function Load_From_Memory
( format: String;
data: not null access Stream_Element_Array )
return A_Bitmap;

References:

resources-images.ads:14:14 (declaration)
archives-zip_archives.adb:159:16 (reference)
resources-images.adb:69:14 (body)
resources-images.adb:80:9 (label)

Called by:

Archives.Zip_Archives.Load_Bitmap defined at archives-zip_archives.ads:34:14

Calls:

Resources.Images.Load_BMP defined at resources-images.adb:13:14
Resources.Images.Load_PNG defined at resources-images.adb:51:14
To_Lower defined at a-chahan.ads:68:13
Loads the an image of the given format from a memory block. The format string is the image format file extension without a leading dot character. An exception is raised on error.