Path generation with scripts

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Locked
IMNewbWithQuestions
Posts: 3
Joined: 2020-01-22T07:46:28-07:00
Authentication code: 1152

Path generation with scripts

Post by IMNewbWithQuestions »

I have a rather specific and esoteric problem, or at least I think so.

Ultimately, I want to generate a path from a set of points/vectors/contours via a script. This path should then be copied onto a jpg (the original source of the points/curves/contours). The resulting image has to have the path we created visible and editable in Photoshop.

All of this happens inside a Linux server; I work in Java mostly. To be clear, this has to work via CLI.

My questions are:
1) Is this possible at all?
2) What do the parameters need to look like if it is?

What I found in my quest to solve this problem is the 8BIM path specification from adobe, but that's about all I have right now. Maybe there even is a way to directly write curves programmatically into the jpg metadata?

I would be very grateful if someone can give me some pointers in the right direction.

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Path generation with scripts

Post by snibgo »

ImageMagck can't write vector paths to JPEG files. It can only read them.

Gimp can write them.
snibgo's IM pages: im.snibgo.com

IMNewbWithQuestions
Posts: 3
Joined: 2020-01-22T07:46:28-07:00
Authentication code: 1152

Re: Path generation with scripts

Post by IMNewbWithQuestions »

Good to know, thanks!

Locked