SHARE
TWEET

Untitled

a guest Jul 26th, 2017 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. img = gimp.image_list()[0]
  2. for i in range(0, 4000, 4000/10):
  3.    pdb.gimp_rect_select(img, i, 0, img.width/10, img.height, 2, 0, 0)
  4.    pdb.gimp_context_set_foreground((int(255 * i / 4000.0), 0, 0))
  5.    pdb.gimp_edit_fill(img.layers[0], 0)
RAW Paste Data
Top