A closer look at the Photoshop Generator syntax

- Joel Brandt and Samartha Vashishtha

The Photoshop Generator feature offers great flexibility in the ways you can rename layers/layer groups to specify size and quality parameters. Stepping beyond the recommendations in the Help article, this blog post looks at some valid variations that you can use while tagging layer/layer group names.

Before we begin, let’s look at the conventions followed in this blog post:

gradient_suffix-prefix

Space case

  • The filename portion of a layer/layer group name can include space characters. For example:
    250% Foo Bar Baz.gif
    Result: Generates a single file named Foo Bar Baz.gif scaled by 250%
  • While specifying absolute sizes, you can omit the space character between the height and the width. For example:
    100×80 foo.png
    Result: Generates a 100 px x 80 px-sized PNG file named foo.png
  • Do add a space character between the size parameter (prefix) and the layer name. For example:
    100×100 foo.png
  • You can omit the space character following the separator (, or +). For example, any of the following layer names generates two files—foo 1.png and foo 2.jpg—from the tagged layer:
    foo 1.png,foo 2.jpg
    foo 1.png, foo 2.jpg
    foo 1.png+foo 2.jpg
    foo 1.png + foo 2.jpg
  • Do not add a space character between an absolute size dimension and its unit. For example, the following layer names are invalid:
    80 x 100 px imagename.png
    4 in x100 imagename.png
    90 mm x120 cm imagename.png
  • Do not add a space character between the layer name and the suffix. For example, the following layer/layer group name is invalid:
    100×100 imagename.png 5%

Mixing units

While specifying the size parameter, it’s OK to mix and match the supported units—px, cm, mm, and in.

If no unit is specified for a dimension, Photoshop assumes it to be px.

Examples:

  • 80 x 100px foo.png
  • 4in x100 foo.png
  • 90mm x120cm foo.png

Wild cards

While specifying absolute sizes, you can use the ? wildcard in place of a dimension.

Examples:

  • 100x? foo.png
  • ?x60in foo.png

Hyphenated quality parameters

You can add a hyphen before the quality parameter (suffix) to make your layer/layer group names more readable.

Examples:

  • foo.png-8
  • foo.jpg-100%
  • foo.png-32

Some other Don’t’s

  • Don’t use unsupported units.
  • Don’t mix absolute and relative sizes. For example, the following layer name is not valid:
    50% 80×100 foo.png
  • Don’t specify out-of-bounds values. For example:
    foo.jpg-101%
    foo.png-42
    0% foo.png

That’s all for now! Hope you have fun using Generator and other exciting enhancements in the September 2013 release of Photoshop. In case you haven’t already reviewed the What’s New, here’s the link.

 

Lo and behold! Photoshop CC is now available!

Adobe has just made available Photoshop CC, a magical new update to Photoshop. This blog post lists out some resources that will help you get started with this new release.

Install Photoshop CC

  1. Go to http://creative.adobe.com and sign in with your Adobe ID.
  2. Click Download Center in the top bar.
  3. Click the Download icon next to the Photoshop icon.
  4. On the Photoshop product page, click Download. Follow the on-screen instructions to complete the installation.

What’s New

Photoshop CC is packed with exciting features and enhancements that will enrich your digital imaging experience. Here is a select list:

  • Reduce camera shake blurring

    Before_After_CSR

    Before/After | Reduce camera shake blurring

  • Share your creative work on Behance

    Behance_4

    Uploading your creative work to Behance

  • Automatically straighten image content using the Upright modes in Adobe Camera Raw

    Upright_Before_Auto_wn

    Before/After | Straightening image content

  • Define elliptical marquees and apply localized corrections to them using the Radial Filter tool in Adobe Camera Raw

    RadialFilter_Before_After_betterfalloff

    Before/After | Radial Filter tool

  • Work simultaneously with multiple paths
  • Paint 3D models with finer control and greater accuracy

    Live3D

    Live 3D painting in Photoshop CC

  • Work better with 3D objects using the revamped 3D panel
  • Type text in 10 Indic languages
  • Adjust dimensions, placement, and the corner radii of a rectangle or rounded rectangle shape

For more information, see:

Video resources:

 


PS: I had the privilege of documenting the new features and enhancements in Photoshop CC over the past few months. Watch this space for helpful resources and useful hints.

Answering Your Questions About Photoshop CC

Check out this excellent FAQ posted by Jeffrey Tranberry, Chief Customer Advocate for Adobe Digital Imaging products. It answers questions such as the following:

  • I’m a photographer, I only use Photoshop and don’t really need to use any other applications in Creative Cloud. What are my options if I just want Photoshop CC?
  • What are some other things that make Photoshop CC more convenient?
  • Can I still buy a boxed/perpetual version of Photoshop?
  • What if I use Photoshop and Lightroom?
  • Will I be able to buy a boxed/perpetual version of Lightroom 5?
  • Will Lightroom 5 be available from Creative Cloud?
  • If you’re going to continue selling Photoshop CS6, will I still get Camera Raw updates?
  • I don’t want to run Photoshop in a web browser. Is that possible?
  • I don’t want to have to save all my files in the cloud. Is that possible?
  • I don’t want to have to be online constantly to use my software. Do I need to be always online?
  • I just bought Photoshop CS6. Can I return it and get Photoshop CC?
  • I’m a student or teacher. Is there a discount on Creative Cloud for Students and Teachers?

Here are your answers.

Creative Cloud | Separating Facts from Myths

Adobe_Creative_Cloud

Need answers to common questions about Adobe Creative Cloud? This post is an attempt to point you in the right direction, so that you can understand what Creative Cloud is.

Let’s bust some myths

Question not here?

If you’re looking for answers, post your question on the Creative Cloud forum.