Tag Info

Hot answers tagged

21

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


20

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


16

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


15

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: #!/usr/bin/python # -*- ...


14

Styled Maps Wizard ( link ) does the job. It does have a pretty good instructions that show up when you open up the website. Those instructions can be accessed at any point with the help button at the bottom of Map style panel ( shown in the image below ). Beloware the styles I used to create the static map on the right and in this link.


13

Assuming there isn't a reason why it has to be the Google-copyrighted maps you use, I'd use OpenStreetMap for this (the open source wikipedia-style Google Maps alternative). They're virtually identical but their license (Creative Commons Attribution-Sharealike) explicitly allows this sort of thing including for commercial work, so long as they're credited ...


11

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


10

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


9

I found this pretty useful technique using the "actions" panel to autosave. http://vector.tutsplus.com/tutorials/scripting/autosave-in-adobe-illustrator-using-the-actions-palette/ In case that link ever goes down, the basic idea is to create an action set 'Autosave' containing two actions, which each trigger each other, creating an infinite loop. Then, ...


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


8

Adobe products allow you to use AppleScript, JavaScript, or VBScript to create scripts. Functionally, ExtendScript is very similar to JavaScript - think of it as JavaScript plus some extra features. Adobe provides a program to make scripts called ExtendScript Toolkit, which was most likely bundled with your install of Photoshop. On my computer it's in ...


8

Not a complete solution, but this might help someone who's come here from Google. If you save with the Save for Web dialog 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 ...


8

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


8

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


7

You can try Object > Path > Simplify and adjust the Curve Precision and Angle Threshold settings to perhaps get a curve. There's no straightforward method, which I'm aware of, other than this.


7

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


7

Here's a simpler solution using gifsicle than JohnB's script: gifsicle input.gif `seq -f "#%g" 0 2 99` --unoptimize -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 ...


7

Use Inkscape: 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 ...


6

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


6

Yes! It's called GREP styles, and you'll find it under paragraph styles. It allows you to enter a "regular expression" ( 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 longer ...


6

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


6

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


5

Yes: What you want to explore is ImageMagick, an extremely powerful tool for image manipulation. It is based on command line, but in short: you have a folder (or folders containing folders containing folders etc), and one command on command line will generate all your images with watermarks, in a folder structure of your choice.


5

As I write code a lot too, I know your pain with this task. Luckily there are dozens of Sprite Generators out there. I don't even save the link, as you always find a fitting one soon. The above linked generator takes a ZIP file. Luckily they don't only give you the resulting sprite image/sprite, but write the CSS for you as well. Sidenote/Hint: Pay ...


5

As of CS6, no there is not an auto save feature in Adobe Illustrator.


5

As others have already pointed out, these are called "word clouds". Word clouds are essentially visual frequency tables of words, where the font size of the word is determined by the word frequency. Thus, to create the graphic, you first need a corpus (for example, a speech made by someone, a text file of all your blog posts, a data dump of all of your ...


5

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


5

I'll take a shot. There's nothing unique about the colors you displayed-- they are similar in that they all fall in a small range of both saturation and brightness, but there isn't similar tone or hue to them and they're not under any specific color harmony. (that I'm aware of at least) As a thought experiment I'm going to take the same colors you provided ...


4

I'd create a small web page and then take a screen grab. You'll end up with a bitmap image you can place on a layer. From there you can sample the colours and use them in your design. If your list looks something like this: 0 0 0 0 0 255 0 255 0 255 0 0 Some clever find/replacing should get you what's needed to create a web page. Depending on the exact ...


4

Xnview have very flexible and powerful (and easy to use) batch capabilities It comes in many forms, including a portable version [for example, on portableapps.com, or others] When in the "browser view" (ie, not viewing a specific image, but a folder) select (ctrl+click, or shift+click) a bunch of images, and then ctrl+U to open the batch-processing dialog ...



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