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 ...
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' " \
For dealing with multiple images, see How to ...
Yes, in Photoshop you could batch process the images in a folder using an action.
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 ...
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:
# This script will take an animated GIF and delete every other frame
# Accepts ...
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 ...
You dont actually specify whether or not the image is something you have generated yourself in TK, have at hand or not. If you already have this code then you can export the TK applications canvas as EPS and open it in illustrator. All you need to do is call canvas.postscript().
If you want to use TK
Simple sample in python 2:
# -*- ...
Not a complete solution, but this might help someone who's come here from Google.
If you save with File → Save for Web you can re-size during the saving process, the options are on the right-hand side under Image Size.
I do this quite often when I need a couple of different sizes for an image, although as the other responses have noted, if you are ...
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 ...
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
You want to create whatever you want to be linked as a Symbol. Open the Symbols Panel, then select your object and drag it over to the Symbols Panel. Choose a "Graphic" unless you're doing this for Adobe Flash, either Dynamic or Static.
Static would make every instance of that symbol exactly the same
Dynamic would be like if you had a hat, but you have a ...
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
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 ...
This can be done with a simple Blend in Illustrator.
You can use the Replace Spine command and get the blend to follow a circle. You merely have to cut the circle at one anchor point for the blend to space correctly.
Note that I selected the 5 base circles and distributed horizontal spacing so they were all equally spaced before creating the blend. This ...
I'd probably use ImageMagick.
There is a feature available to modify the hue, but it's percentage based instead of degrees.
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,...
If you don't care about the dots lining up...
You can quickly make something similar to your example in Illustrator using a dashed stroke. To draw the evenly spaced rings easily, I'd use the Polar Grid Tool.
Then it's just a matter of setting the Stroke on the rings to dashed with gaps that fit your liking:
You can of course fine tune each row to ...
If you do care about the dots lining up...
Illustrator's distort and transform effect is perfect for this sort of repeating pattern, but in order to get that exact pattern it will require some tweaking. Start with a dotted line (with 11 dots for your example)
Add a Transform Effect via Effect > Distort & Transform > Transform...
You'll notice ...
I'll add my method, since it seems to me like it's the simplest. Basically, you:
Computationally generate the circles in Python
Render them as a simple SVG file
Open file in Illustrator
Here is the Python script (requires svgwrite and math):
This script has two purposes:
- Simple demonstration of using Python (specifically the svgwrite library) to ...
Create co-centric guide lines and double click the lines to rotate by equal amount (I used 30 degrees).
Create a series of co-centric unfilled circles manually setting the width and height, and moving them to the center.
Create a filled circle, and copy paste some number of times.
Use the "Rows and Columns" tool to spread them out along a row,...
You don't need a script to release all clipping mask in one step, just do:
But it can also be done via script:
app.executeMenuCommand("Clipping Masks menu item");
The same for ungroupping all objects and release all compound paths:
Indesign comes with a script called findchangebylist.jsx. It does exactly what you want, but it's pretty tedious to use. So tedious, that many people have created scripts for this same task. I would recommend checking some of these out:
Find Change By Queries
My personal favorite. Easy to use.
Multi-Find/Change 2.0 ( Indesign and Incopy )
Yes! It's called GREP styles, and you'll find it under paragraph styles.
It allows you to enter a "regular expression" (AKA "regex", a code-based super powerful advanced search), then, it applies a character style of your choice to anything that matches those criteria, instantly and automatically. If you edit text so a snippet no ...
There's also the Smooth tool if you prefer a more hands-on approach. Rub it over a selected path, and it smooths it where you rub. If it doesn't smooth enough, keep rubbing.
From this tutorial:
Double-click the tool icon to set how closely the smoothed line sticks to the original (fidelity) and how strong the smoothing is each time (smoothness).
A nice ...
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...
Select the action you just made
Select source: Data sets
and Override action "save" commands.
Then press ok.
The option you want to set is Keep within Top/Bottom Column Boundaries in the Anchored Object Option
With the anchored object selected go to Object -> Anchored Object -> Options and check Keep within Top/Bottom Column Boundaries
This is the behaviour without Keep within Top/Bottom Column Boundaries selected:
This is the behaviour with Keep within Top/...
I'm not sure that an action is necessarily the best option for you. A script could do something like this fairly easily. This should give you some useful pointers as far as basic scripting goes..
Basically, the script has to do a few things. First, get the layer dimensions and save them as a variable. Then, make a new text layer, and use the variables as ...
Create a new layer, and execute the following code as a script. It will create a new layer style with 0% fill and the new gradient as an overlay. The for-loop towards the bottom creates a 21-stop gradient in the foreground color. Every other stop alternates between opaque and transparent.
You can then save the gradient as a preset within the Layer Styles ...