def grayscale(): filters.run(filters.COLOR_GRAYSCALE)
def normalize(): filters.run(filters.COLOR_NORMALIZE)
def linear_negative(): filters.run(filters.COLOR_LINEAR_NEGATIVE)
def negative(): filters.run(filters.COLOR_NEGATIVE)
def complementary(): filters.run(filters.COLOR_COMPLEMENTARY)
# Render > Lava # (fr) Rendu > Lave # (es) Renderizar > Lava # (de) Rendering > Lava from lazpaint import image, layer, filters, colors, dialog image.do_begin() layer.new() filters.run(filters.RENDER_WOOD) layer.new() filters.run(filters.RENDER_WATER) layer.set_blend_op(layer.BLEND_LINEAR_SUBTRACT) layer.merge_over() layer.set_name(dialog.get_script_name()) image.do_end()