Illustrator Scripting :: Can Low Performance Of CreateOutline() Be Increased?
Feb 8, 2012
I wrote a little Script converting an Array of Strings to outlines for SVG export. I however find the results of createOutline() extremely unsatisfactory, especially when compared to the results of doing the job "manually" (Right click > create outlines).
Right click, "Create Outlines"
createOutline() from Script
From first sight this seems like an issue with conversion accuracy set too low, however I wasn't able to locate a parameter to change the same.
How to achieve the look of the top image from within a script.
View 2 Replies
ADVERTISEMENT
Sep 20, 2007
I have recently got a new PC soley for photoshop and am eagley awaiting delivery of my copy of CS 3 to turn up, however this will be used to artwork photos for in a commercial portrait studio, due to nature of our work i am finding that previous copies are running a little bit slow and are really delaying our studio progess. Unfortunatly we are a very small team and currently don't have an IT expert to hand.
I have been doing my research and have read that better performance can be achieved by designating your scratch disks to different drives, again unfortunatly i only have 1 drive in this machine, i was wondering if i was to partition the hard drive into 4 sections would this increase the performance or not, and ifso what would be the best type of partitioning to use, i.e FAT/FAT32/NTFS/or any of the other types?
View 6 Replies
View Related
Dec 18, 2012
I'm try to automate the importing of the Varaible and datasets into my graphs via Scripting, but the ImportVaraibles() function doesn't seem to work. Here is my Script, mostly copied from the example script provided with Illustrator (CS5). And, this works manually, using the file names in the script, via Load Variable Library
Set appRef = CreateObject(strIllistratorVersion)
'Open the file and import the datasets
Set docRef = appRef.Open(strTemplate & "200-500.ai")
'docRef.Datasets.RemoveAll
docRef.Variables("Yearbook").Delete
Here is the problem, after I delete the previous library, then this next line, right from the example, does nothing
The script then exits with 'No Datasets in this document'
docRef.ImportVariables (strXMLFolder & "Lumber_200-500.xml")
'appRef.DoJavaScript "alert('Template:" & strTemplate & strRange & ".ai | XML file:" & strXMLFolder & "" & objFile.Name & "^')"
If (appRef.Documents.Count > 0) Then
Set docRef = appRef.Documents(1)
[Code]....
If I remove that delete line, the script runs, but just uses whatever Variables I had last loaded, not the XML file.
It's simply not loading. What do I need to do to get it to load?
View 8 Replies
View Related
Jul 11, 2013
One of my co-workers has drawn a shoe (I work in the clothing-business) and is experience huge performance issues on that specific file. We've tried in both CS5.5 and CS6 with no difference.
When I try to rasterize the drawing, Illustrator stops responding. I've tried Simplifying and Cleaning up the paths, but with no lucks. It's not a particularely advanced file, but there seems to be a LOT of paths.
According to the "Document info"-window, there's 110,823 paths (67 open). On another drawing of a shoe (which has some similarities in looks etc.) there's only 86 paths (10 open).
How can I reduce the number of paths? And shouldn't I be able to see all 110,823 paths in the drawing?
View 7 Replies
View Related
May 6, 2012
Can you access graph data through the scripting DOM?
View 3 Replies
View Related
Aug 1, 2013
Using Illustrator CS5.5, I'm trying to open and use floor plan PDFs originally created from AutoCAD, Revit, etc. The files contain detailed vector artwork, but the file sizes and RAM/CPU usage I'm seeing don't seem to correspond to the information in the file. I open a 2MB floor plan PDF and when I save as Illustrator, it becomes 20MB. It takes 2GB of RAM to open that file.
I've checked for masks and transparencies, but can't figure out what's making these so difficult to work with. Are there attributes I'm not checking that could be slowing things down?
View 1 Replies
View Related
Aug 14, 2013
how to improve Illustrator (CS6) performance on a photo-heavy document.
The document is best described as a "catalog" style piece. It contains 2 artboards (front and back) with approximately 30 item images on each side.
When I work on this document, after every click, tool selection, or almost any action, Illustrator "sticks" and goes to "Not Responding" temporarily, then becomes stable again for me to perform a function - then it will stick again (and repeat).
CS6/Windows 7
View 10 Replies
View Related
Mar 16, 2013
the Script of creating mirror text and stroke text in Adobe illustrator scripting.
View 4 Replies
View Related
Aug 25, 2008
I created this effect in photoshop cs2 awhile ago and cannot remember how I did it. Does somebody know how to create this effect?
View 7 Replies
View Related
May 23, 2009
I did nothing with my computer but remove my little 512MB of RAM and install 2GBs. PS3 (yeah...a real early version) suddenly disappeared. I attempted to reinstall it but it will not install. I use PS3 most of the time because I am an old geezer and it is easy to use for what I use it for, But being very curious...why would it work on 512MB and not 2GB?
(I have Win XP home edition)
View 4 Replies
View Related
Mar 7, 2012
We are working on a DWG file. Its a project my friend started and is of a house. She now started to bring in furniture from external files. Now her original DWG file is really big. Even if she deletes the furniture she brought in from external files, the original file is still bigger than it was.
I asked her if she could just copy the original 3D house to a new file. She said in a later version of AutoCad, she could just create BOX and save the objects to a new file, but she isn't sure how to do this in AutoCad 2012.
In Short: Is there a way to save her project? She can't even work on it now because the file is so big.
View 7 Replies
View Related
Oct 23, 2012
Every time I apply a style to a shape or text all of the styles options and effects seem to be increased, the shadow will be longer, the stroke will be bigger, etc.
View 3 Replies
View Related
Dec 9, 2011
I have an icon I want to add text and another icon to...
so I incresed the canvas size the existing icon has a stronger checkered background than the "new area...
and: I cannot do (except for pasting another image) anything with the weakly checkered area??
do I need to add transparent background first for the new area?
View 4 Replies
View Related
Apr 25, 2013
my .oam files getting bigger...i had a little animation that was 1.9mb and 1 month later i make the same animation and i' m getting a 2,9mb file.Not much, but this .oam file is part of a website...so size das matter..
Is there a way, to get smaller sizes? the files are alrready based on the animation size..the animation is 960x320pixels..and i made the pictures 100% based on that measurements..
View 1 Replies
View Related
Jul 17, 2013
I am doing a small drawing with bolts and nuts. I wish to show the centerline visible, but with CENTER2, and selecting the line for Property, I changed the Linetype scale to .25. However, the actual line on the drawing doesn't show a centerline but a continuous line. See, figures below. I wonder if the gaps between the small dash and the long lines can be increased.
View 4 Replies
View Related
Apr 21, 2013
I do not mean "how do i use the scale tool?!" I have an xcf file that is 925X250 and it needs to be 925X450. If cropping removes specified parts of an image, how to I make it bigger, like in paint where you can just drag the edges out or go to image properties.
View 2 Replies
View Related
Feb 12, 2013
I would like Abobe to create a patch for this problem affecting so many of us. The menu's font size cannot be adjusted in PSE. It is a HUGE problem for me. I cannot return the product, I lose money, but I am unable to continue with using it. I do not understand why Adobe keeps ignoring this problem. PSE would be a great product - only if Adobe listened to customer input. I am forced to think that Adobe simply does not care enough about its customers, especially not about the older population with presbiopia.
View 2 Replies
View Related
Jun 29, 2013
I'm having multiple issues with Photoshop CC. I just installed it yesterday and all went well. I began working on a project and discovered that the bracket keys no longer increased the brush size, but instead jumped from one brush to another. The following day I tried to open the app and got a blank white window and a spinning beach ball. It won't start.
View 1 Replies
View Related
Aug 9, 2013
I am working on a quite large file. It was all of the time around 68 MB. Now at once it is 570 MB in size. I linked all images (less than 380 MB) externally. What is the reason for that?
View 6 Replies
View Related
Oct 4, 2012
The multileader arrow is not showing even if the number is increased (ie from "4" to "10") in the multileader dialog box or under the properties when modified.
View 2 Replies
View Related
Mar 15, 2012
Didn't their use to be a control for how PLines showed up at intersections when you increased the width? I can't remember where it was (dialog box, options, sys-var)?
View 5 Replies
View Related
Dec 28, 2012
I am creating a slider for a site's Home Page, and specified a Stage size of 960 x 255 pixels in my Edge Animate document. When I inserted the .oam file from Dreamweaver (Insert > Media), the dimensions grew to 980 x 275 pixels. Manually correcting the dimensions does not correct the problem. The width remains wider, and a gap exists between the bottom edge of my animate object and the border graphic that overlays the object.
How do I correctly specify the stage size so it remains at the size I specify once I insert the .oam file in my page?
View 2 Replies
View Related
Feb 16, 2014
How to lose timeline backwards with increased speed?
View 1 Replies
View Related
Jan 15, 2014
Quite new to Ai's scripting stuff.
I'm having a complicate time with Ai's save to jpg options vs artboard sizes and units conversions.
Say, i have a doc (from my client), which they inherited and enhanced for 10 years may be.
It's "supposed" to be in millimeters, but artboardRect gives me those values :
-0.27880000000005
436.191388980878
646.457
-0.20900000000074
which sound like weird points or pixels.
I need to export a jpg (or gif, or png), that will be X pixels wide. For the purpose of the test i set it at 1200.
var maxLargeurPx = 1200;
First thing, getting the artboard's width :
largeurArtboard = Math.abs(thisArtboardRect[2]-thisArtboardRect[0]);
// 646.7358
Then i try to have a multiply factor to use
coefExport = /*Math.round*/ (100 * maxLargeurPx / largeurArtboard);
// 185.54717397738
and then set my ExportFile jpg to this value (i can't give it a number)
// exportOptions.horizontalScale = coefExport
That's when it's getting fun : my images are 1204 px wide with or without clipping.
Of course, i "can't" resize the doc for each export, especially expecting to have dozens of those, with different values, dimensions, etc.
View 5 Replies
View Related
Jul 27, 2012
I wrote the following AppleScript to open a PDF file and export is as PNG. I am using Illustrator CS5.
The export command gets an error: Adobe Illustrator got an error: Can't get current document.
when it encounters the export command.
set inputFile to (choose file with prompt "Open PDF file to convert to PNG:") as text
set exportFile to inputFile & ".png"
tell application "Adobe Illustrator"
if not frontmost then activate
open inputFile as alias without dialogs
export current document to exportFile as PNG24 ¬
with options {class:PNG24 export options ¬
, resolution:300 ¬
, matte color:{red:0, green:0, blue:0}}
close current document saving no
end tell
View 5 Replies
View Related
Jun 20, 2012
Im trying to add a pdf on top of an existing PDF in illustrator using a script. This is supposed to be done by anyone at my firm so that is why I want it in a script. I also have a lot of other functions that works that will do some other stuff with this document.
Created this from the scripting guide but it doesnt work. Im pretty sure its the embedDoc var thats empty and i dont understand why. Im not sure if the File "points" to the directory of the script or the original file but Ive tried both ofcoarse.
This is the masterpiece
var embedDoc = new File("/temp/testfile1.pdf");
if ( app.documents.length > 0 && embedDoc.exists ) {
var doc = app.activeDocument;
var placed = doc.groupItems.createFromFile( embedDoc );
}else {alert("suck")}
View 4 Replies
View Related
Apr 7, 2012
Is it possible to reference layers or groups by their names instead of their index using VBA? If so, what is the sytax? I know you can do it in Extendscript, but I'm not finding info for VBA.
View 7 Replies
View Related
Oct 10, 2012
Swatches Swatches Read-only. The swatches in this document.
Deletes a swatch from the current document
Set appRef = CreateObject("Illustrator.Application")
Set documentSwatches = appRef.ActiveDocument.Swatches
Set swatchToDelete = documentSwatches(5)
swatchToDelete.delete
How am I supposed to be able to make changes to the swatches collection - it is read only...
Not supprisingly I have failed to implement this in C-sharp
View 5 Replies
View Related
Mar 13, 2014
I am trying to close alert at once but the loop continues the alert, how can I stop the alert at once
var doc = app.activeDocument
var layersToTargetNameArray = ["Background", "Artwork", "diecut", "size", "sign off panel"];
for (var i = 0, il = doc.layers.length; i < il; i++) {
var curLayer = doc.layers[i];
[Code] ......
View 6 Replies
View Related
Feb 11, 2014
Is there anyway in JavaScript to replace one swatch with another?
I've seen other posts where similar questions have been asked, but the solution seems to involve iterating over all the pageItems, testing and then changing the fillColor.
All I want to do is delete/replace a specific color. Say replace Yellow with Green.
Is there a way of doing this without recursing through all of the page items?
View 3 Replies
View Related
Sep 11, 2012
I added CS6 COM reference in my VB.NET application and after that I have the following basic object creation in order to convert a eps file to svg. But for some reason when I create this COM object it is launching the Adobe Illustrator application. Why it is doing like this? It’s a simple COM object why it is interacting with Illustrator Editor?
View 9 Replies
View Related