demosthenes.info

I’m Dudley Storey, the author of Pro CSS3 Animation. This is my blog, where I talk about web design and development with , and . To receive more information, including news, updates, and tips, you should follow me on Twitter or add me on Google+.

web developer guide

my books

Book cover of Pro CSS3 AnimationPro CSS3 Animation, Apress, 2013

my other blogs

Massive Head Canon: Intelligent discussion of movies, books, games, and technology.

my projects

A Sass color keyword system for designers. Replaces CSS defaults with improved hues and more memorable, relevant color names.

CSSslidy: an auto-generated #RWD image slider. 3.8K of JS, no JQuery. Drop in images, add a line of CSS. Done.

tipster.ioAutomatically provides local tipping customs and percentages for services anywhere.

1x, 2x, 3x, more: Batch Processing Retina Images with PhotoShop and JavaScript

tools / photoshop

Estimated reading time: 3 minutes, 30 seconds

Many design tools now feature workflows for exporting Retina images, but only for the current document; bulk conversion of assets has tended to be the role of complex command-line utilities like ImageMagick or task runners like Grunt. PhotoShop Actions can be used for batch processing, but they can be somewhat finicky to record, play back, and modify.

For designers, there’s a nice intermediate solution between using a familiar GUI and the power of a CLI: most Adobe products have had the power to run under the hood for years. Creating a script action provides complete customisation for your project needs, and acts as a potential stepping stone to stand-alone systems like Gulp.

Create A Curved Dropshadow For Web Content With PhotoShop

tools / photoshop

Estimated reading time: 3 minutes, 11 seconds

You can create a curved, “lifted” effect for web page elements by using to generate image that will be applied to the element with CSS. As a pixel-based image, a primary goal of process is to keep the shadow as small, light, and as possible.

PhotoShop Batch Processing: Generating Image Thumbnails via Automated Crop & Resize

tools / photoshop

Estimated reading time: 6 minutes, 7 seconds

If you are executing the same simple sequence of operations in PhotoShop on two or three images, it’s usually fastest to do so manually. But the moment that you repeat the steps more than a few times, it is easiest to record the operation as an automated process.

500pxApplying an automated sequence of operations to a set of images is known as “batch processing”.  Batch processing is typically used to create a series of thumbnails for a gallery, or interchangeable banner images, or headshots for the profile page of a board of directors. In this tutorial we’re using the first example, but in all cases, the final images need to be the same size and aspect ratio. I’ll be using images from 500px.com, my newest favourite photography site: the photographs are by Mike Orbinski, Dale Martin, and Tom Lowe.

For a real-world example, you would want your source images to be as high a resolution as possible, and in a lossless format, in order to preserve the highest quality possible during our workflow.

In PhotoShop we wish to execute two steps:

This site helps millions of visitors while remaining ad-free. For less than the price of a cup of coffee, you can help pay for bandwidth and server costs while encouraging further articles.