| M E M _ M A K E B M A P F R O M I M G ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - MEM_#?
----------------------------------------------------------------------------
NAME
mem_makebmapfromimg() - Creates BitMap from Image.
SYNOPSIS
bm = mem_makebmapfromimg(image, type);
struct BitMap *mem_makebmapfromimg(
struct Image *, ULONG)
FUNCTION
This function converts Image to BitMap which gets its
own memory.
INPUTS
image - Pointer to Image structure.
type - Type(MEMF_CHIP, MEMF_PUBLIC,...) of memory to
use for the BitMap data.
RETURNS
Returns newly created BitMap or NULL if there was no
memory.
BASES
SysBase, (GfxBase)
NOTES
This function does not allocate one big chunk of mem.
needed to store the data, so chances are that it will
be successful even if your mem. is very fragmented.
BitMap created with this function can be passed to
'FreeBitMap()'.
BitMap can be 1 to 8 bits only!
BitMap created by this function is in standard Amiga
format.
SEE ALSO
mem_convimgtobmap()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |