Skip to content
doyousketch2 edited this page Sep 13, 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 no image, to 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

    obj.d = int depth set
    ( 0 bitmaps, 1 pixmaps, and 1 to 4 color images )

  • obj.h ==> int height get

    obj.h = int height set
    ( in pixels )

  • obj.w ==> int width get

    obj.w = int width set
    ( in pixels )

Clone this wiki locally