Add Trace Path question...

Post Reply
Tenzo
Newbie
Posts: 9
Joined: Wed Jan 31, 2024 11:22 am
Location: USA :(
Contact:

Add Trace Path question...

Post by Tenzo »

Hey all,
I have some PNGs that I am sending through Pitstop Server. I have altered them with ImageMagick to add a custom White contour around a Black Graphic with a transparent background. My questions is...
  • Is there a way to add a Trace Path around the White contour only to make it line art?

20250121_B7_PRD_3HANDLE-2.png
20250121_B7_PRD_3HANDLE-2.png (6.37 KiB) Viewed 6902 times
Last edited by Tenzo on Thu Jan 23, 2025 11:18 pm, edited 3 times in total.
loicaigon
Advanced member
Posts: 524
Joined: Wed Jul 10, 2013 10:22 am

Re: Add Trace Path question...

Post by loicaigon »

There are two approaches you could take. If the white stroke width is know, you can simply get the trace done on the black part and extend/offset the stroke. If you can't presume that width, an option is to make the white, not white.
This can be done using a curve (gray in your case):

Image

Then you can get the trace as you need:
Image

In an Action List that would be:

Image

Of course, there might be cases where you will need adjustments, but you get the idea.
Tenzo
Newbie
Posts: 9
Joined: Wed Jan 31, 2024 11:22 am
Location: USA :(
Contact:

Re: Add Trace Path question...

Post by Tenzo »

loicaigon wrote: Tue Jan 21, 2025 6:25 pm If you can't presume that width, an option is to make the white, not white.
This can be done using a curve (gray in your case):

Of course, there might be cases where you will need adjustments, but you get the idea.
This definitely put me in the right direction!
I was able to expand the boxes and make the line art Red. However, why when I select the line art (See action list) does that not just change the traced path instead of making a new one?
Attachments
double paths.png
double paths.png (43.28 KiB) Viewed 6884 times
Action List.png
Action List.png (6.83 KiB) Viewed 6884 times
Traced.png
Traced.png (29.83 KiB) Viewed 6884 times
loicaigon
Advanced member
Posts: 524
Joined: Wed Jul 10, 2013 10:22 am

Re: Add Trace Path question...

Post by loicaigon »

I don't see a reason why you get a doubled path. I reproduced the action as you did and I don't get that result.
Are you sure they were no paths before you run the action?

Feel free to share files here so that we can further investigate.
Tenzo
Newbie
Posts: 9
Joined: Wed Jan 31, 2024 11:22 am
Location: USA :(
Contact:

Re: Add Trace Path question...

Post by Tenzo »

loicaigon wrote: Wed Jan 22, 2025 9:12 am I don't see a reason why you get a doubled path. I reproduced the action as you did and I don't get that result.
Are you sure they were no paths before you run the action?
I have resolved the double path issue. It turns out it was a "IBM" error.
I had a Preflight Profile calling the action & the Action List selected in the Switch app.
So, all is good for now!
Thanks again for your help @loicaigon!
It is greatly appreciated!
Post Reply