Questions tagged [adobe-illustrator]
Adobe Illustrator is a commercial vector graphics editor. Please make sure your question is about *programming* not just how to use the software. When using this tag also tag the language that you are coding in for context, e.g. [extendscript], [applescript], or [vbscript], etc..
adobe-illustrator
1,033
questions
0
votes
0
answers
24
views
Maps in pdf format generated by python cartopy cannot be concatenated in illustrator (possibly due to Outlines outside the artboard scope)
I want to use illustrator to concatenate my PDF graphics, which were generated using python cartopy. But when I moved the two maps closer, I got an error and I couldn't move the maps. The detailed ...
0
votes
1
answer
11
views
How to convert a hosted Adobe Illustrator file to a web-supported preview format?
My web application accesses adobe illustrator files from s3 object storage. I need to display a preview of these images. Web browsers don't support .ai files, so they need to be converted into a ...
0
votes
0
answers
31
views
Javascript to Python in Adobe Illustrator
I'm trying to get Python to run with a script in Illustrator so that Illustrator will ask the user to enter a number and then create a barcode in 128code with Python and then save it somewhere.
It's ...
1
vote
1
answer
25
views
adobe illustrator toolbar is the only one shown
like this
The homepage is not displaying correctly, similar to the screenshot linked here. This issue has been persistent despite multiple attempts to refresh the page, clear the cache, and delete ...
1
vote
1
answer
22
views
Return the dimensions of a place image in extendscript
I have an illustrator file that contains a placed image which is contained within a clipping path of similar size, not exactly but only a couple of pixels out. When I click on the image in illustrator ...
-1
votes
1
answer
38
views
Creating CMYK Swatches for a Swatch Book using Illustrator
So I have a swatch book like the attached image. Each page all the CMK values are the same but only the yellow changes. Right now each page the Yellow changes by 10% (0,10,20,30 etc). Is there a ...
1
vote
0
answers
44
views
Alt modifier layer hotkeys not triggering in Adobe Illustrator
Adobe Illustrator and all of the other Adobe packages have had a long standing issue with their Alt modifier on windows, because Alt is often used to focus the menu bar, it will get in the way of ...
0
votes
0
answers
33
views
When converting a PDF created with Adobe Illustrator to PNG using PDFbox, the inserted lines disappear
I would like to convert a PDF created with Adobe Illustrator to PNG, but the lines inserted in the PDF disappear when it is converted to an image.
Please tell me the measures.
The libraries used are ...
0
votes
0
answers
22
views
Is there a way to make the Least Cost Path lines in ArcGIS Pro thicker?
I'm currently running Least Cost Path analysis in ArcGIS Pro. I found that the Least Cost Paths (lines that represent the most cost-efficient way to travel between different locations) are extremely ...
1
vote
1
answer
51
views
Used AI to generate an Adobe Illustrator v28.3 script that groups the contents of each individual artboard. Can't get it to work
What would be the best way to solve the problem of wanting to 'auto group' all artboards?
Opposed to dragging a selection box of each artboard, then hitting CMD+G, each page has 8 artboards and I have ...
0
votes
1
answer
237
views
SVG export from Adobe Illustrator generates strange code
In an application that my company is developing, there is a need for symbols generated from Adobe Illustrator to be added as SVG-files. It has been a long development and we already have a library of ...
1
vote
0
answers
54
views
How do I avoid "pure virtual function call" errors when programming Adobe Illustrator via WIN32COM with Python?
While writing python (3.12.2) code to interact with Adobe Illustrator via WIN32COM (Windows 10), I sometimes crash Illustrator with "pure virtual function call" errors.
Here is an example ...
1
vote
0
answers
72
views
LottieFiles export is blurry, but looks fine in After Effects
my co-worker made a bunch of cool animations in AE. He's using illustrator for the assets. Everything looks great in AE, but once exported to LottieFiles, it's all blurry.
The hunch is this: the ...
0
votes
0
answers
57
views
Illustrator's Pathfinder Divide but in Javascript for SVGs
I am trying to automate a process I currently do in Illustrator but would like to be in the browser. In Illustrator with vector art, I expand all text and strokes and use pathfinder divide to flatten ...
1
vote
0
answers
63
views
Changing text after importing svg (exported via matplotlib) in Illustrator
I am using matplotlib (Python 3.8) to export my figures as svg. When importing those figures into Adobe Illustrator (CC 2018/22.1), the text is split up per letter, i.e. the letters in "...
0
votes
2
answers
481
views
Modify the data of SVG path element's d-attribute to make the resulting path flipped
I have a SVG that contains a single <path> element that draws a certain shape. The coordinates of this path are contained within the path's 'd' attribute's value. I need this shape flipped ...
0
votes
1
answer
99
views
Issues Automating White Removal from Color Images Trace with Custom Preset in Illustrator with Adobe Bridge or New Script
I am trying to automate the process of image tracing images in Illustrator. I have a good system with black and white images where I can create an action to trace, save as SVG and remove white after ...
-1
votes
1
answer
72
views
SVG not filling out like fontawesome icons like it has padding or whitespace
Can anyone tell me why this custom SVG on the right won't fill the height like the icon on the right does? The SVG does not have any space on the top and right when opened in Illustrator.
Current SVG ...
0
votes
0
answers
60
views
How to convert eps files to Adobe Illustrator version 10 EPS via python
i am looking for python code that converts eps files to Adobe Illustrator version 10. can you help?
import subprocess
import os
def convert_to_ai10(input_eps, output_ai10_eps):
# Full path to the ...
0
votes
0
answers
39
views
Issues with exporting SVG from blender with overlapping faces
i'm having issues with SVG Freestyle Export from blender.
3D Scene in blender
Fills issues
I have a problem regarding strokes that do not stop when they intersect with the face of another object. I ...
0
votes
1
answer
142
views
Chinese characters appear garbled when Adobe Illustrator opens a PDF created using reportlab
I used reportlab to create a pdf file that contains a Chinese text. I have registered the Chinese font file. There is no problem when the pdf is opened directly through the browser, and the Chinese ...
1
vote
0
answers
44
views
Change Illustrator TextFrameItem aspect
Using ExtendScript for Illustrator, I need to create programmatically AI documents from scratch, with stroked texts.
I created texts with the following code:
textFrame.contents = 'foo'
textFrame....
1
vote
1
answer
124
views
$.fileName will not work in script in OS X and Adobe Illustrator
I'm using a .jsx-script in Adobe Illustrator, which stores its preferences in an JSON file generated in the basic script folder within the Adobe program folder.
But it does not work in my case, the ...
-1
votes
1
answer
147
views
Open Adobe Illustrator file via VB Script [closed]
I'm new in Adobe Illustrator and VB script. I would like to know how to open Adobe Illustrator file using VB Script. I would like to automate few process of doing task.
1
vote
0
answers
55
views
repeating print every 10 minutes in illustrator
I have some small printers which need to print every 10 or 15 minutes to decrease damage of printers.
so, I need a script (jsx or vbs) to send a command to illustrator to print every 10 minutes. Is ...
2
votes
1
answer
92
views
Cannot open generated QR code SVG in Adobe Illustrator
I am generating QR code using composer endroid/qr-code php package.
It's so awesome, here are my SVG generation php settings.
// create QR code
$qrCode = QrCode::create($url)
->...
0
votes
1
answer
590
views
How to create .aip file (Adobe Illustrator Plugin file)?
How to create .aip file (Adobe Illustrator Plugin file)?
I know how to create .zxp file with ZXPSignCmd.exe.
But how to create .aip file?
I need something which will not be possible to open, so code ...
0
votes
0
answers
56
views
is there a way to change colors of a PlacedItem in Illustrator scripting?
I building a simple automation script in Adobe Illustrator, and I am trying to recolor an ".ai" file to match a color swatch on current document template before I embed it to the document. I ...
1
vote
1
answer
194
views
Selecting a set of colors, making a new layer, and then sending to that layer using Illustrator script
I am trying to create an illustrator script that will select a a group of dots that all have the same color and then create a new layer and send it to that layer. The script works when doing one layer,...
1
vote
1
answer
86
views
Determine whether the Text Frame itself is selected or if the text within the Text Frame is selected or if no Text Frame or text portion is selected
Some Background
We work with product label design in Adobe Illustrator CC 2022. The purpose of this script is to convert our metric value to Imperial value depending on the user selection: ML to FL OZ ...
1
vote
0
answers
81
views
PDF/SVG and adobe illustrator compatibility
When matplotlib plot with confidence bands is exported to SVG or PDF and opened in Adobe illustrator for editing, the bands are getting corrupted:
Original plot in matplotlib (the PDF and SVG open ...
0
votes
0
answers
39
views
What is the math behind Adobe Illustrator Freedom Gradient
In Adobe Illustrator, you can apply a free form gradient to shapes by placing an n amount of colors in the shape. I'm trying to replicate that behavior in a project I'm working on but I'm having a ...
3
votes
1
answer
110
views
How can I use Hex codes when specifiying a color for defaultFillColor?
I am just getting started with learning scripting for CC software.
I have been reading the documentation and have managed to change the fill colour with:
var colfil = new RGBColor();
colfil.red ...
0
votes
1
answer
115
views
How to get the Active tool or change the active tool to the "Selection Tool"?
I am just getting started on learning ExtendScript or general scripting for Adobe programs. So pardon me, if I am of base.
I think I have figured out most of what I need to know but I am stuck on ...
1
vote
0
answers
21
views
Changing Illustrator File to Emogi
I created an illustrator document that I want to change into an emogi. However, I have failed to convert it to UTF-8 code. Is there a way of doing this? Below is the image.
Airtel 5G logo
I have tried ...
1
vote
1
answer
188
views
Can't Embed HTTPS Image in SVG and after open with Illustrator
I'm trying to embed an HTTPS image in SVG with the image tag, aiming to open it in Illustrator. This is my current code:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/...
1
vote
1
answer
282
views
Using Python to Script Illustrator: Saving an EPS File (COM Variant)
I'm trying to save an Illustrator file as a .eps using Python. As far as I'm aware Python is not supported normally for Illustrator so I downloaded a reference file which I imported to my code. ...
0
votes
1
answer
182
views
How to apply a textured gold leaf color effect for a font with gradual lighter effect
How can I archive the style effects for the textured gold leaf color of the font that gradually gets lighter from left to right? I have the font and the background image and I want to reconstruct this ...
0
votes
0
answers
73
views
Problem with svg export in illustrator. A kind of antialiasing?
illustration on edition mode
illustration on export
My problem is a kind of antialiasing... On my workspace i have no problem but on export i have white borders around shapes.
I try to deactivate ...
0
votes
1
answer
66
views
Interaction between Illustrator and PDF
I wanted to create script that will save as current document into pdf and when that's pdf is opened it that script should put signature block within that pdf. I was able to create scripts for both but ...
0
votes
2
answers
111
views
How can I extract duplicates from an array using ExtendScript?
I am trying to identify duplicate object names in an Illustrator file using ExtendScript so I can group them. I can get an array of all PageItems on a layer, I just don't know how to identify and ...
0
votes
2
answers
216
views
A script that runs a command based on selected artwork colors
I tried to make a script that will do an action a couple of times (loop) based on the number of colors that the selected art have.
And if there is a way to store the color names in an array it would ...
1
vote
2
answers
297
views
Extendscript for Adobe Illustrator: Unexpected compound shape / path results from expanding image trace
I am writing a script in Extendscript for adobe illustrator that would automate these steps for an ink like effect: 1)Expand the selected object 2)convert to a compound shape 3)apply gaussian blur 4)...
2
votes
2
answers
308
views
Is it possible to run functions asynchronically in Adobe Illustrator scripting?
I have made a script for Adobe Illustrator. But I have a problem: I need some functions to be applied step-by-step (asynchronically). These functions are: prepareToScript, selectTextObjects, ...
0
votes
0
answers
327
views
Need Help: PDF Files Not Showing Up in Adobe Illustrator
I am currently facing an issue while working with Adobe Illustrator and would greatly appreciate your help in resolving it.
The problem I am encountering involves the insertion of PDF files into my ...
0
votes
1
answer
129
views
How to/Help create a CIELAB color space wheel in Adobe illustrator?
I am trying to create an RGB approximation of the CIELAB color space wheel for a* and b*. I know that effectively the there needs to be an angular/conical gradient from a central point with Yellow (...
0
votes
3
answers
399
views
How do I export all open files into PNGs and have every window close in the end?
Last year, I had help with making an Illustrator script that hides the text layer of all open files and saves every one, but I am wondering how to add code that exports all the files into PNGs (to the ...
1
vote
0
answers
83
views
Detect by code the width of the Arabic letter which is a type of path or compound path in Adobe Illustrator
In Adobe Illustrator I have many paths like arabic words in ottoman calligraphy layout, and the source of these paths is not a outlined text but a path.
So I need to detect by code (javascript, python,...
1
vote
1
answer
234
views
Javascript to relink missing link from pdf within same folder within Illustrator
I am trying to figure out a script to relink a linked pdf in Illustrator. Basically my file will have two linked pages from a pdf in illustrator. The file will then export images made from artboards ...