REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: effect

Description

This applies an effect to an existing or new image using the built in effect dialect.

In this example, using a size of 50x50 produces a black image of the size 50x50. When applying the invert effect, the image turns white:

effect 50x50 [invert]
make image! [50x50 #{
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

To read more about the effect dialect commands, see here.


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin