Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement