Commits

Shlomi Fish committed 39ed03a

Renamed var.

Comments (0)

Files changed (1)

hhfg-background.py

         return temp_image
 
     def save_crop(x,y,w,h,ext):
-        top_image = copy_image()
-        pdb.gimp_image_crop(top_image, w, h, x, y);
+        cropped_image = copy_image()
+        pdb.gimp_image_crop(cropped_image, w, h, x, y)
         fn = ("%s-%s.png" % (filename_base,ext))
-        pdb.file_png_save(top_image, top_image.active_drawable, fn, fn, False, 9, False, False, False, False, False)
+        pdb.file_png_save(cropped_image, cropped_image.active_drawable, fn, fn, False, 9, False, False, False, False, False)
 
     save_crop (0, 0, image_width, margin_height+radius, "top")
     save_crop (0, (image_height-margin_height+radius),