Illustrator Scripting :: Can't Open Dialog Box Live Trace
Mar 18, 2014i would like to live trace (vectoriser) a pdf drawing but i can't open the dialog box live trace(vectorisation de l'image) on version 17,1.
View 1 Repliesi would like to live trace (vectoriser) a pdf drawing but i can't open the dialog box live trace(vectorisation de l'image) on version 17,1.
View 1 Replieshow to use Live Trace in Illustrator but now instead of the Tracing Options window having a button that says "Trace" it's now showing a button that says "Set to Default." I'm sure something isn't selected right or something similar, but I can't figure it out. why "Trace" is no longer an option?
View 2 Replies View RelatedI'm loving CS6 Illustrator, except for one thing. Image Trace. Here, Adobe seem to have taken away the two most usefull settings from Live Trace, and replaced all the presets with ones that are pretty much unusable. I almost always used either 'Comic Art' or 'Lettering' to trace hand-drawn images, but they're both gone. None of the new settings are good enough, even if I make a custom one. The main issue is that the sliders in Image Trace are for completely different things to those in Live Trace, so it's difficult to translate one set of settings into the other.
With Image Trace, I cannot get the same results as with Live Trace, and so far, have found myself having to have Illustrator CS5 open at the same time as CS6, just so I can get workable traces.
I don't know if it's possible, but is there any way to import the presets from Live Trace, or even the full tool, into CS6, to replace the new Image Trace presets?how to make the equivelant of Comic Art in Image Trace's new settings?This is a close up of a file I was trying to trace, showing the major difference in quality between the two CS versions.
Left: CS5 - Comic Art setting.
Right: CS6 - This is a custom setting, but is the closest I have come to Comic Art thus far.
As you can see, the definition of Image Trace is far lower in quality than Live Trace, giving me one large connected blob of colour rather than the distictly separate lines produced in Live Trace.
I just started using CS6, jumping from CS3. A major tool I use is Live Trace, and I have custom settings for that. I cannot find a way to make Image Trace behave the way Live Trace did for black and white line drawings. The results I get in CS6 are far inferior to those I got in CS3 in terms of retaining the look of the original raster image. Otherwise, I will have to leave CS3 installed just to do my Live Trace.
Here is a sample of what I mean. You can see the quality degredation in CS6 compared to CS3. (And it's much more obvious when it's full size and full resolution.)
My settings used in Live Trace (CS3) were:
The settings I tried in CS6 that gave the above result were:
I'm batch exporting JPGs of AI files in CS5, but many of the files are as old as AI10, so I'm getting the "Convert to Artboard" dialog box. I've set open options (below), but they seem to just pre-populate the checkboxes in the dialog. Any way to do this without user interaction? userInteractionLevel doesn't seem to apply here)
var optRef = new OpenOptions();
optRef.updateLegacyText = true;
optRef.convertCropAreaToArboard = false;
optRef.preserveLegacyArtboard = true;
optRef.createArtboardWithArtworkBoundingBox = false;
I want to open a "Save File Dialog " with some default path.Like when user run that script I want to open a "Save As" dialog box with default path "/Volumes/<shared name>/<folder name>/.. ."I am using File.SaveDialog(prompt, filter);
but it doesn't open to the location by default that I want to open.
I did a live trace and it did pretty well. The image I traced was fairly simple. But I ended up with a lot of extra pieces in what should be a solid color. I've tried Select > Object > Stray points, but that didn't work. I have large area that I want to be one solid piece. Within this area, there are lots of little "pieces" that are the same color... How do I merge them all into one piece? I tried "Unite" in the pathfinder, and that didn't work, either.
In case I'm not being clear, basically, I want to do what the "smooth" function does in Photoshop... but in Illustrator.
I'm using CS6 on a Mac.
Is it better to use Live Trace with images that have no color and are just black and white and to apply all color in AI with Live Paint bucket or can you get good results with images that have color when using Live Trace?
View 3 Replies View RelatedI have done a live trace of a somewhat complex GIF that I want to simplify into black silhouette. What I have is a black object filled with dozens of irregularly shaped closed paths within it. I want to get rid of these, and was thinking I could just choose "ungroup," then select all closed paths except the large one enveloping them and delete them. I'm obviously misunderstanding something, though, since Illustrator sees what I have as one object already. The only way I'm able to remove all those little white shapes is to delete their anchor points one by one. There has to be a better way . . .
View 3 Replies View RelatedWe have recently updated our office Adobe Creative Suite, and are now using Illustrator CS6 to clean-up hand drawn sketches. When we run any sort of trace on a simple, black and white line drawing, the trace results in a negative image: the white background turns black, and the outline of the sketch is white. We have tried checking the "ignore white" box and several other settings changes. Initially, for our first few times using the new suite this didn't happen:
View 1 Replies View RelatedI'm trying to "Live Trace" an image and AI says "Tracing" in the layers pane and just sits there forever. See image below:
View 3 Replies View RelatedOut of the blue, whenever I use live trace, it crashes my Illustrator and I have to force quit. I have tried all different sized jpegs, big and small, force quit.
View 1 Replies View RelatedHow to recover the Live Trace button as well as the entire option on a CS5 top bar and Objects menu? Mine has vanished, and while i am still able to find Live Trace under the OBJECT section, it won't allow me to use any of the options. I've tried restarting, I've checked if my images were locked, I've opened various files hoping the outcome would be different, but nothing worked. I've even tried going to Keyboard Shortcuts and keying in a new shortcut, but it won't allow me to as no box appears for me once clicked.
View 7 Replies View RelatedI have a fairly good quality image with black text on a white background and I'm trying to trace it using live trace. I want to be able to manipulate it like normal text would allow you to. The font is a serif font and contains some thinner lines, so whenever I live trace it, it comes up quite uneven and all over the place. I've tried tinkering with the settings but nothing I do really seems to make much difference. My question is, are there any specific settings or modes that are best suited for doing traces of text, or any other methods for that matter? I can't recreate the text using a pen tool - it would take way too long!
View 3 Replies View RelatedI am new to Illustrator - I am scanning simple components on a technical drawing. These are line drawings - closed contours (for example, the outline of the cross-section of an aircraft wing). I am attempting to use Illustrator to convert the jpg scan to vector form - am saving the result as a .dwg file. I am then importing this into SolidWorks where I am attempting to extrude the form of the component prior to 3D printing.
In Illustrator I am using live trace to create the vector representation. However I'm finding that the vector representation appears to take the form of a number of segmented vector representations. As a result, in SolidWorks I can obviously not extrude the component.
Are there are additional steps within Illustrator that I should be using so as to clean up/unify the vector representation?
So I am making a logo and I am trying to vectorize it. But, when I use the Live Trace, it messes up the lines, and makes it look like it was painted. So is there another way to vectorize my logo without the Live Trace?
View 2 Replies View RelatedWhy the custom option for live trace would be ghosted in CC?
I haven't changed any settings, and as far as I know it's been like that since the initial install.
The option is there... can't click it...
I'm running Win 7 Pro 64-Bit with 32G Ram and a core i7.... so my specs shouldn't be the issue
Mask button in Live Trace menu?
View 4 Replies View RelatedI created an image using live trace and saved it as a ".ai" file. I thought that saving it like this would allow to have the same quality in After Effects. However the After Effects image looks pixilated. I am still new to both programs. Attached are two images, one from After Effects and the other from Illustrator.
View 1 Replies View RelatedI use live trace quite a bit and have created several custom tracing options in CS4. How di I get them into CS6. When I open a scaned document in CS6, The custom field in the trace menu is greyed out so I don't know how I could recreate them from scratch.
View 1 Replies View RelatedI have written a simple script to to trace a raster image using Illustrator.The image can be traced using >Object > Image trace in Illustrator without any problems.However, when I run my script I get the following error: Application error 12321(some long number) 'MARC'.
var jpgFilePath = new File ("/Users/Ellipse8.jpg"
createRasterItem(jpgFilePath)
function createRasterItem(jpgFilePath) {
var rasterFile = File(jpgFilePath);
var myDoc = app.documents.add();
[code]....
I used illustrator to live trace an image and then copy it to photoshop and paste as a shape layer. Usually, it fills in the paths with the foreground color and it's exactly what I want. For some reason, this time though, when i paste as a shape layer, the entire selection becomes the foreground color and when the layer is simplified it's just a big block with the same color as the foreground color. Why is this working on some of my traces and not others?
View 3 Replies View Relatedbest way of converting some inked line drawings into vectors. I currently do a lot of fabric designs which consist of very simple line drawings, which I then ink up. What I'd like to do is scan these in and then fill them. I'd also like to be able to resize them, hence the vector conversion.
I've had a play with the Live Trace feature in Illustrator, but have to admit that it baffles me slightly. I currently can't find a setting within Live Trace that will trace the image without increasing the size of the stroke - e.g. all the presets just turn my nice fine sketches into big fat black splodges.
I am also having trouble in taking the converted Vectors and transfering them over to Photoshop - any time I either try to copy the layer directly over or open the saved Illustrator file in Photoshop it comes out all jagged.
someone will be able to describe the steps I need to take to do the following:
1. Convert a line drawing into a Vector without drastically increasing the line weights.
2. Take this new Vector from Illustrator to Photoshop without losing any image quality.
I need to initiate print dialog. Action must be completely the same like pressing Cntr+P on keyboard.
When I use this code:
var colorOptions = new PrintColorManagementOptions();
colorOptions.name = "ColorMatch RGB";
colorOptions.intent = PrintColorIntent.ABSOLUTECOLORIMETRIC;
colorOptions.colorProfileMode = PrintColorProfile.SOURCEPROFILE;
[Code]...
I get error message: "Can't print the illustration. The Color Management setting are inconsistent."
Is there any functions and methods that dont work on a dialog window versus a palette?
I sk because i was playing with some UI stuff and i almost got everything working but it doesnt work as a dialog just palette.
I'm creating a dialog window for an Illustrator script, and would like to include a logo image.
The image file is 'mm_logo.png', and it lies in the same directory as the script itself. Here's the relevant fragment:
var dlg = new Window('dialog', '',[200,200,600,400]);// logodlg.logo = dlg.add("image", {x:25,y:0,width:139,height:67},undefined,'mm_logo.png');
Sadly the image fails to appear when I run the script (although the dialog itself and items such as panel lines and buttons do appear).
The documentation suggests I may need to supply the 'current' property of the 'Folder' class.
Is there any way to programmatically call up the print dialog? Or is there some sort of "send keys" function similar to the corel vba?
View 4 Replies View RelatedI have very simple dialog - just one panel and few checkboxes. When I set panel as "undefined" everything works right, but when i set a size of the panel checkboxes disappear.
Works
var win = new Window ("dialog", "test");
var panelOpcje = win.add("panel", undefined, "Options");
var check1 = panelOpcje.add("checkbox", undefined, "check1");
var check2 = panelOpcje.add("checkbox", undefined, "check1");
win.show();
This doesn't work
var win = new Window ("dialog", "test");
var panelOpcje = win.add("panel", [0,0,400,300], "Options");
var check1 = panelOpcje.add("checkbox", undefined, "check1");
var check2 = panelOpcje.add("checkbox", undefined, "check1");
win.show()
how to show the color picker dialog in Illustrator programmatically?
In photoshop that's really easy, just:
app.showColorPicker(true);
In Illustrator I couldn't find any reference to such a method or other possibility to show the dialog programmatically, that you would normally get when double clicking on the fill color square within Illustrator.
Is that possible by using app.executeMenuCommand or some other method?
I am writing a script that opens the color picker dialog in reaction to a click on a button. I want to be able to get the chosen color and use it within the script.
How do I open a file on Mac without dialog window using a pre-defined path network? example: myfile / mytest / mytestfile.ai.
View 4 Replies View RelatedI want to create a dialog consisting of multiple buttons. As a result I want value which button was pressed by user.
The script (shortened to problematic part):
// I'm looping through elements on layer 'warstwa' from kolorStart to kolorStop, 'k' is used for number buttons
for (i = kolorStart, k = 0; i <= kolorStop; k++, i++) {
myButton[k] = myButtonGroup.add ("button", undefined, warstwa.pageItems[i].contents);
myButton[k].label = warstwa.pageItems[i].contents;
myButton[k].onClick = function () { wybranyKolor = myButton[k].label; myWindow.close(); }
}
The result:
But buttons don't work, wybranyKolor returning 'undefined'. If I change "wybranyKolor = myButton[k].label" to "wybranyKolor = myButton[k-1].label" I get proper answer but it is the same for all buttons so it looks that all buttons have the same action assigned. How to get each button to has unique name which can be passed to variable?
Probably I can achieve the same with radio buttons' list but with buttons it is one click less for the user.