Hot answers tagged

10 votes

how to split an image with a grid and export automatically every frame of the grid in a single file in photoshop or illustrator?

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 ...
  • 491
8 votes

Can anyone help me identify this font?

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.
  • 3,154
7 votes
Accepted

Script to always save IDML with INDD

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 ...
6 votes

Illustrator: Centering two groups according to an object in one of the groups

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 ...
  • 4,563
6 votes
Accepted

Resizing .SVG Files

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 (...
  • 8,118
6 votes
Accepted

Generate palette from image

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, ...
  • 4,178
5 votes

Script to always save IDML with INDD

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 "...
  • 233
5 votes

How to fill a shape with different elements of varying sizes

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 ...
5 votes
Accepted

Can you control Photoshop with external software?

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 ...
  • 56k
4 votes

Can I add 'Export As' to an action script?

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 ...
  • 10.9k
4 votes

OpenType Features - Adaptable typefaces

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 ...
  • 14.4k
4 votes
Accepted

How to change a text object in Illustrator and export programatically?

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 ...
  • 7,174
4 votes
Accepted

Save to IDML script not working in CC2017

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 ...
4 votes
Accepted

Replacing a smart object in bulk with Photoshop's variable data or scripts

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 ...
  • 3,228
4 votes

Filter, Script or Effect for smudge design

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 ...
  • 56k
4 votes
Accepted

Duplicate artboard with script Illustrator CC

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 ...
  • 1,886
4 votes

How can I mimic a used magazine cover (crease, earmark, cracks) with Gimp?

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 ...
  • 76.1k
4 votes
Accepted

Script for random movement (scatter)

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 ...
  • 56k
3 votes

Automatic extraction of layer information in Inkscape

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 ...
3 votes
Accepted

Script for GIMP to make a certain area transparent for several images

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 ...
3 votes

converting a dashed line into multiple lines in illustrator

There is a extetendScript that can do this effortlessly and precise: breakDashes.jsx If you take five minutes to learn where to paste scripts into the right folder and then inside Illustrator go to ...
3 votes
Accepted

How can I quickly turn all objects of a layer to independent layers in Inkscape?

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 ...
  • 1,804
3 votes

How to rotate all items as a group? (In a script, Illustrator)

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 ...
  • 56k
3 votes

Mass export all images as individual JPEGs in InDesign, but not use image frame ratio

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, ...
  • 4,563
3 votes

How to create a script in GIMP?

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 ...
  • 14.3k
3 votes

Script to Change Table Style - InDesign CC

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 ...
3 votes

Any way to export layers to files WITHOUT a prefix, short of editing the .jsx file?

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: ...
  • 9,871
3 votes

How to get the coordinates for a selection bounding box in Gimp

This example image is 200px x 200px. If you don't know it, you can find the size by clicking Image > Canvas Size The Crop Tool options show the X and Y position of the top left corner of the crop, ...
  • 76.1k
3 votes

How to force whole numbers to have one decimal place in Adobe Illustrator?

You can program your own graphs. This gives you total flexibility over the results. While this may seem daunting it is not. Most infographics are quite easy to codify, things like bar charts, line ...
  • 56k

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