Home Index classes Index static functions Index enumerations Index structure types

{Bmp|_format|_load_save}


CLASS {Bmp|_format|_load_save} , UNTESTED :



IMPORT : {Bitmap} , {AL4_drawing} , {Stream} , {File_stream} .


-------------------------------------------------------------------- 'load'

  

FUNCTION From_file ( STR Path|_of_file ) ==> {Bitmap} , NEW



FUNCTION From_stream ( {Stream} S|ource_stream ) ==> {Bitmap} , NEW



-------------------------------------------------------------------- 'save'

  

FUNCTION To_file|_save (
     
{Bitmap} B|itmap_to_save ,
     
STR Path|_of_file ) ==> BOOL



FUNCTION To_stream (
     
{Bitmap} B|itmap_to_save ,
     
{Stream} S|tream_destination ) ==> BOOL



----------------------------------------------------------- 'other sources'

  

FUNCTION From_clipboard ==> {Bitmap} , NEW



FUNCTION To_clipboard ( {Bitmap} B|itmap_to_copy ) ==> BOOL


END