Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speeding up gimp scripts
#2
See gimp_image_undo_freeze(image) & gimp_image_undo_thaw(image) if you play directly with the image, and gimp_image_undo_disable(image) if you start by duplicating the image or work on temporary images. Recent Gimp also has gimp_image_freeze_{layers|channels|paths}(image) calls to prevent updates to the previews in the layers, channels and paths lists.

If you save to PNG your problem could be the PNG export which is slow if you use the high compression factors. Using a low compression can make this much faster while not making much change to the size of the result.
Reply


Messages In This Thread
Speeding up gimp scripts - by DaltonCalford - 12-30-2022, 06:18 PM
RE: Speeding up gimp scripts - by Ofnuts - 12-31-2022, 03:41 PM

Forum Jump: