32

Here's a simpler solution using gifsicle than JohnB's script: gifsicle -U input.gif `seq -f "#%g" 0 2 99` -O2 -o output.gif This command should work in most Unix shells; I've tested it in bash. Replace input.gif and output.gif with the input and output file names, and 99 with the number of frames in your animation. (It's OK to use a larger number, but ...


25

Use imagemagick: Imagemagick's own watermarking tutorial. Watermarking a single image looks like convert logo.jpg -font Arial -pointsize 20 \ -draw "gravity south \ fill black text 0,12 'Copyright' \ fill white text 1,11 'Copyright' " \ wmark_text_drawn.jpg For dealing with multiple images, see How to ...


23

Yes, in Photoshop you could batch process the images in a folder using an action. Simply: Open the image Open the "Actions" panel and hit "Create new action". Name the action and hit "Ok" You should now be in record. Most anything you do will be logged in the action as a step until you hit the "Stop" button in your actions toolbar menu. Create your ...


18

Using a bash script To do this from the command line, you could use a utility called Gifsicle. There is no built in method to delete every other frame, so you'll need to get your hands dirty with some scripting. Here is a quick script I made to do just a single GIF: #!/bin/bash # This script will take an animated GIF and delete every other frame # Accepts ...


17

There is a Gimp script that is specifically designed to add watermarks: Batch Image Watermark Script. It need to be run through the command line, but it is quite straightforward: Download the script Save the downloaded file to your GIMP install followed by \share\gimp\2.0\scripts. For Windows users Start -> Run… -> Cmd (hit OK) Type cd followed by ...


16

You can use the commandline to export all layers. First, so see how many or which layers we have, with --query-all or -S: $ inkscape --query-all presentation.svg | grep layer | awk -F, '{print $1}' layer1 layer2 layer3 With the id (exakt name) of the layer, you can now export it with --export-id=ID or -i and -j, --export-id-only $ inkscape presentation....


12

ImageMagick answers have pretty much already been given at this point, but I wanted to give a little more detailed answer, so that everyone should be able to use it. Example with dummy paths: Which you will have to replace. ( On a mac and windows you can drag a file or folder to terminal window, which will convert into a path ) Make sure the destination ...


12

It's hidden away but it is possible. 1) File > New > Document Enter the number of pages of your PDF in "Number of Pages". Deselect "Facing Pages" if you want individual pages. If you know the dimensions of your PDF, set that as your document width and height now, otherwise you can edit it later using File > Document Setup. 2) Window > Utilities > Scripts ...


11

You can use this python code I created to create ascii art from still images and videos: https://gist.github.com/lindylex/9374326 Example output Original ASCII art output (python ascii_movie_image_ver_1.py cat.jpg 4 10)


11

NOTE: This answer was posted before there was a command line/open source requirement, but I'm leaving it up as it may help someone else in the future Using Photoshop This is not an open source or command line solution, but you can do this with Photoshop: File ▸ Import ▸ Video Frames to Layers... "Limit To Every __ Frames" will do the trick for ...


11

You don't need to script this, just hit Ctrl+F and switch to the 'GREP' tab type \[[^]]*\] in the 'Find what' field or type the same thing with an \s? added in front to also remove any preceding whitespace, otherwise you'll be left with double spaces. so that's \s?\[[^]]*\] make sure the 'Change to' field is empty click 'Change All'


9

I'd probably use ImageMagick. There is a feature available to modify the hue, but it's percentage based instead of degrees. Hue Modulation Rotates the colors of the image, in a cyclic manner. To achieve this the Hue value given produces a 'modulus addition', rather than a multiplication. However be warned that the hue is rotated using a percentage,...


9

You can put a Conditional step in an action: use the Insert Conditional... command in the Actions flyout menu: So first create an action to rotate and save a document. Then create an action with a condition. There's a rule If Current Document Is Landscape so Then Play Action will remain None and Else Play Action will be your rotate & save action.


8

Gimp doesn't have actions on its own, but there are two very popular plugins or scripts you can use: Resizing using Bimp (Batch Image Manipulation Plugin) Source: http://www.alessandrofrancesconi.it/projects/bimp/ Instructions: Open BIMP from the File menu Add all the image files that you want to manipulate Choose Resize from the list of available ...


8

Since it wasn't complicated, I decided to write it from scratch. I wouldn't expect the script to be very fast, due to the fact that it's opening, saving and closing files. It should highly depend on your computer and the .ai file(s) in question. Make sure to check the first two variables: overwrite and targetVersion, before trying to run the script. You may ...


8

Easier solution: Use Bridge, which has a filter for orientation. Drop the images into a folder, click the 'portrait' filter, which selects every portrait image in your folder, then the rotate tool at the top. Done.


7

As I mentioned in the comments, you should give some more clarity in your question to get a truly tailored answer. But, from what you stated above, I can help you break down your seemingly 6 steps into 3: 1) Copy a layer/layers 2) Make a new Document 3) place/drag them into the new document Step 1: Duplicate Do you know about the Duplicate ...


7

I updated the script to use the core BackgroundLayer of the doc. So that each jpg that exports is compiled with it. Would be great if someone added tagging to layers to make them Master layers instead of the default BackgroundLayer ;-) full script: // NAME: // SaveLayers // DESCRIPTION: // Saves each layer in the active document to a PNG or JPG ...


7

Yes, the data set exporting is very well tucked away. To export the data sets into pdf's you need to do this: Make a new action where you simply save a pdf document. Then from the corner menu in Actions window, select Batch... You should: Select the action you just made Select source: Data sets and Override action "save" commands. Then press ok. I ...


7

You can do this by recording a custom Action of yourself: Opening the file Saving it as a .png file Closing the file Then you can automate this for the entire folder by going File -> Automate -> Batch. Choose the folder containing all the images and run your custom Action.


7

I have received a perfect answer at another (non-English) site, let me publish it here for those who may have the same question in future. mogrify -extent 640x640 -gravity Center -fill white *.jpg (the mogrify command is a part of ImageMagick)


7

Use the layers panel I find the easiest way to accurately select multiple artboards is the layers panel. Collapse the artboard groups (if your list is too long), then command-click each title you're after. Three ways to move Click and drag the title of any selected artboard in the workspace. Don't miss or you'll lose your selection! (>_<) Use the ...


7

I won't go into detail about the batch process. It should be enough to know that you can run a script through the File > Automate > Batch... by first making a Photoshop Action, where you open a script file: File > Scripts > Browse.... Obviously you can also do more things within that same Action. I'm not exactly confident I understand what you ...


6

Yes its possible to automate. Open Extend Script toolkit. Write #target Photoshop alert("Hello "+app.activeDocument.name+"!") Save script and run it, it should now see a alert box provided that PS is open and has a document. Its just javascript you can find the reference manual: PS scripting manual online. Here is how you change text in a text layer and ...


6

IrfanView has this ("Add watermark image") File -> Batch conversion / rename -> Advanced


6

You can simply add an Invert Fill Layer, and this will invert all layers below it.


6

Hit the Esc key. It may take a moment for it to stop.


6

More than one error there, I'm afraid. "Hyperlink" is not covered in the latest version of Adobe's own Scripting guide (which would be "Adobe InDesign CS6 Scripting Guide: JavaScript" on http://www.adobe.com/devnet/indesign/documentation.html), but that's no reason to just 'try' things. The ExtendScript Toolkit Editor has a Help of its own – the "Object ...


6

You would just need to use the Image Processor that comes preinstalled with CC. Select your starting folder, then the output folder and whatever settings you want.


6

Perhaps try a different approach. You could create multiple coloured leaves using a script to randomly fill with some chosen colour swatches. There's a free Random Swatches Fill script here. I have no connection with the website or the script developer. I tested the script in CC 2018 and it still works. However to use it in CC versions you will need to ...


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