Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path generation with scripts
#2
Yes, you can generate a path with scripts in Gimp, I have a whole library of scripts that do just that.

However, Gimp will not save any path as the Adobe clipping path in a JPEG (AFAIK this is a proprietary extension to the standard), so once you have a path in Gimp you are a bit stuck.

You would have to find some utility that knows how to add such a path in a JPEG.

If the path can be created without any human intervention,  you don't really need Gimp, there are libraries out there that can handle Bezier curves.

If there is some human intervention and you need to use Gimp, you can create your own file export plugin, that would use the built-in jpeg export to create the JPEG and then call the aforementioned utility to insert a path in the JPEG
Reply


Messages In This Thread
RE: Path generation with scripts - by Ofnuts - 01-20-2020, 04:07 PM
RE: Path generation with scripts - by rich2005 - 01-20-2020, 04:47 PM

Forum Jump: