Skip to content
doyousketch2 edited this page Sep 7, 2019 · 6 revisions

Image (abstract):

Corresponds to: Fl_Image

Functions

  • obj:color_average( int|userdata Fl_Color, double image ) Fl_Color ( blend amount: 0.0 image, 1.0 full image shown )
  • obj:desaturate() ( convert to greyscale )
  • obj:inactive() ( copy appears greyed out )
  • obj:uncache() ( delete cache data )

Properties

  • obj.d ==> int depth get ( 0 bitmaps, 1 pixmaps, and 1 to 4 color images )
  • obj.d = int depth set ( 0 bitmaps, 1 pixmaps, and 1 to 4 color images )
  • obj.h ==> int height get ( in pixels )
  • obj.h = int height set ( in pixels )
  • obj.w ==> int width get ( in pixels )
  • obj.w = int width set ( in pixels )

Clone this wiki locally