Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

use script to convert jpg to vector

New Here ,
Oct 14, 2018 Oct 14, 2018

v2-5442f0ee07bab180be61da99f500b666_b.png

Hello.

     I want to convert jpg to vector like above image.

     Now i have call expandTracing, but how can i use script to group these path by filled color and labeled by group number?

1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Oct 14, 2018 Oct 14, 2018

Hi, Here is the thread where i found your question and it answers. You can check that and check your answer there.

Script. Insert text number in the middle of visible bounds of the each object

Thanks.

Translate
Adobe
Advocate ,
Oct 14, 2018 Oct 14, 2018

Hi, Check this out. I found this thread may be it will help you.

Need script to batch convert vector .eps to .png images with scale

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 14, 2018 Oct 14, 2018

Thank you, but how to add text in path?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 14, 2018 Oct 14, 2018

Hi, If you want to add text in the path then create a path and select the type on a path tool from the text tool and then click on a path and type your text.

Screenshot_12.png

Or check this video guide to do it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 14, 2018 Oct 14, 2018

v2-ed33a094e749c124310a8be0d5d9c2b3_b.png

No, after image tracing and expand, there are many circle like this , how to use script to add text in this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 14, 2018 Oct 14, 2018

To add pathtext on existing paths with script:

For an example:

// draw a line

// and select this line

var aDoc = app.activeDocument;

var pTxt = aDoc.textFrames.pathText( aDoc.selection[0]);

pTxt.textRange.characterAttributes.size = 20;

pTxt.contents = """I'm text on a path""";

If this is what you want - have fun

------------------------------------------------------------------

Should this thread moved to Illustrator Scripting ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 14, 2018 Oct 14, 2018
LATEST

Hi, Here is the thread where i found your question and it answers. You can check that and check your answer there.

Script. Insert text number in the middle of visible bounds of the each object

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines