Hot answers tagged

9

Select the slice tool (under the crop category), with the slice tool select your entire image. Right click on your selection and choose 'Divide Slice', enter the horizontal and vertical dimensions of your choice. Now choose 'Save for Web', select all your slices and choose your format and compression. Click save and make sure it says 'All Slices' under '...


8

This font is called Melany Lane. The extra filigree you see in your example on the "C" and "n" are alternate glyphs that are included in the font.


7

This example should get you started. You need to run the script once per InDesign session. You could add it as a startup script for example. It will save everytime the user saves the document a idml file. #targetengine "session" // we need a targetegine to make this work var doc = app.activeDocument; // get the current doc // now to the event listener app....


6

This is a "hacky" way of doing it (if you are not a coder), but since you are looking for alternative solutions, here we go. SVG is an XML based format. This means that you can edit the SVG (carefully) as regular text just like you would edit a web page. You could then use the text editing functionalities of your favourite text or web editor (such as "...


5

Thanks, @fabiantheblind, that works brilliantly. I've adapted that to make it work as a Startup Script (it waits for a document to be opened). // Set a targetengine to make this work #targetengine "session" function saveIDML() { // Exit if no documents are open. if(app.layoutWindows.length == 0) { return; } else { // Get the ...


5

That is Estilo Script by DSType: http://www.dstype.com/fonts/estilo-script


5

In addition to Joooja's answer, here are two other methods. Smart guides method: Just the fastest ever, if you have a simple artwork. Just select the center of the big circle use move it to center point of small one. Key object method, for more complicated artworks: Click the Direct-Selection tool, hold down Shift, and select the two anchor ...


5

If you have access to Illustrator this can be done fairly easily with Jongware's CircleFill script. Then to easily replace objects I recommend installing and using the wonderful copyToMultipleObjects script by John Wundes. All you have to do is select one "flag circle" on the topmost layer/position above the shapes you want to replace and the script will ...


5

Some basic Python knowledge and a quick look at pyPNG Code Examples quickly lead to this: import png import sys def makeRamp (input_name, output_name): source = png.Reader(input_name) width, height, pixels, metadata = source.read() if metadata['bitdepth'] == 8 and metadata['planes'] == 1 and 'palette' in metadata: print ('processing 8-...


5

Photoshop has a VBScript API on windows, more correctly it is a COM API. Which can be programmed in any COM aware language. So C#, C++, Python, any version of Visual Basic, windows own JavaScript engine, PowerShell... Basically almost any language that has full on windows bindings. This mostly leaves out Java runtime based languages (although a COM bridge is ...


4

I haven’t tested this, but I this should be possible with contextual chaining substitutions. You roughly need to do the following (the details probably depend on the program you are using), taking the alternation between vertical and horizontal as an example: Make your default letters vertical. Create a single-substitution feature that replaces each ...


4

You CAN do this with illustrator, using variable data. You basically have an xml file with the different texts that you then import to Illustrator to generate the graphics. Here is a simple tutorial on how to import an xml file and use it within an illustrator document. And here are some thoughts as to how to convert your data into illustrator xml in the ...


4

There is no reason to use a script in newer editions of InDesign as the IDML feature is under Export. Just go to File -> Export choose Format: InDesign Markup (IDML). If you are worried about the continuous steps learn to use shortcuts which is cmd+E then choose Format: InDesign Markup (IDML). If you want to really use the script you're going to need ...


4

Not quite sure that you can add that exact option to an action. But here's what you can do instead: Go to File -> Export -> Export Preferences then change your preferences to something like this (you could make that part of your action too if you'll need to change this frequently): Make sure Quick Export Location is set to Export files to an assets ...


4

I found this page that has an answer that looked close to what you're looking for, I modified it to work with the latest version and to hopefully fit your needs better. Here's how to use it: Save the code below in a file with a .js extension Open your template file and select the SmartObject Go to File->Scripts->Browse Find your .js file and open it ...


4

This is not as hard as it seems to do, in either Illustrator or Photoshop. I would prefer illustrator as i would get all vector. This is what you do: Rotate the image (for easier drawing), to the orientation of your lines) Draw out form edges with the warp tool. Tip: holding shift constrains movement to horizontal or vertical Drag some secondary ripples ...


4

Yea the problem is, it's not a recordable action, and while it appears simple on the surface, there's apparently a lot to duplicating an artboard. But, you can augment the code with your needs. This snippet will make a new artboard and use copy/paste to put the items on the new artboard. If the new artboard happens to be off the side of the pasteboard, that'...


4

You could use a paper texture. Either find an old worn piece of paper and scan it, or find a texture to use online, then paste it on its own layer above the main image layer, and change the blending mode to Multiply. For example:


4

Here is a implementation of uniform box scatter scatter_box(activeDocument.selection, 100, 100); function scatter_box(items, xoffset, yoffset){ for(var i=0;i<items.length;i++){ var oldpos = items[i].position; items[i].position= [oldpos[0]+Math.random()*xoffset-xoffset/2, oldpos[1]+Math.random()*yoffset-...


3

Inkscape layers are SVN groups. You save save an SVG file and open it in a text editor, or use the XML Editor within Inkscape Ctrl+Shift+X. A typical (abbreviated) SVG from Inkscape will look like this: <svg:svg id="svg2"> <svg:defs id="defs4"> <svg:metadata> [...] </svg:metadata> <svg:g id="layer1" ...


3

This kind of operation could be simply performed with Imagemacick using crop function. In your example: convert your_image.png -crop 423x275+0+113 -background transparent -flatten cropped_image.png The output is: Using a batch file you can process all your images. Edit convert works even using in the geometry dimensions greater than the dimensions of ...


3

It's fairly easy... using this extension: inx-toolsanim Here I have one layer with a few objects (for example): Go to Extensions > Animation > AnimTools In the Groups tab, choose 'Wrap each selected object in group': Which does as it says: Back in the AnimTools panel, now under the Layers tab choose 'Convert each selected group to layer': Which gives ...


3

Quick primer into computer graphics programming. Whenever you are trying to do a compound transform it is best to compose the transform onto a matrix operation. Mainly because you can specify a complex transformation in one go. OK so no we have to compute the bounds. But then you might rotate around a arbitrary point in some case too (this makes it easy). #...


3

You need to export the graphic, not the object. Add .graphics[0] before the exportFile function. var myDoc = app.activeDocument, apis = myDoc.links.everyItem().getElements(), items, fileName; var i = 0; var MyPath = "C:/Users/xx/Desktop/test/"; // change your path here alert("Script is running. Press OK and wait until done..."); while (items = ...


3

No, there is no macro-recorder in Gimp. It can be scripted with Script-fu (a LISP/Scheme derivative) or Python. I find Python simpler to use and it can do more things. Both are now built-in and don't need any additions to your standard Gimp installs. Gimp scripts can call installed plug-ins (in fact many things in standard Gimp are plug-ins already) but ...


3

Ok, I think I can answer my own question, and leave it as a reference for others who might be looking for a solution. To apply a Table Style and Clear All Table Style and Cell Style Overrides on all tables within a document use this script: for (s=0; s<app.activeDocument.stories.length; s++) for (t=0; t<app.activeDocument.stories[s].tables.length; ...


3

If you have Adobe Bridge that makes it very easy to batch rename the files using Batch Rename and some REGEX. Using String Substitution with REGEX this is what I would do: Find: ^_\d{4}_ Replace: leave blank Explanation: Courtesy of Regex101 ^ asserts position at start of a line _ matches the character _ \d matches any digit equal to 0-9 {4} Quantifier — ...


2

I would recommend tackling this problem as a print merge: prepare a text file with the numbers you'll be needing (1 per line), then use it to perform a print merge on a readymade design, with the number from your text file inputted into each card that requires it. Then perform the merge - you should end up with 40 pages (or however many numbers you had) of ...


2

Use the options on the Stroke Panel to create a dashed line.... Then choose Object > Expand Appearance and then Object > Expand to create shapes for each of the dashes.


Only top voted, non community-wiki answers of a minimum length are eligible