Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6616883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:38:13+00:00 2026-05-25T20:38:13+00:00

I have a layer that is a 250x250px circle. I have an action set

  • 0

I have a layer that is a 250x250px circle.

I have an action set up to duplicate this circle layer and reduce the size by 99.2% (-2px).

I now need to be able to save this layer as a png file with the filename specific to the dimension of each layer – ie circle_248x248.png , circle_246x246.png and so on…

I can batch save but the tricky bit is making it save with the filename specific to the dimension of the layer..

Any suggestions??

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:38:13+00:00Added an answer on May 25, 2026 at 8:38 pm

    You could use Adobe ExtendScript to give you more control over the script and name the files programmatically. There is no way to do this with Actions.

    You could use the GD library if you have access to a PHP server and write a simple script to create all your images, since it’s such a simple operation.

    for($i = 250; $i > 100; $i = $i - 2) {
      $im = imagecreatetruecolor($i, $i); 
      imageantialias($im, true);
      $white = imagecolorallocate($im, 255, 255, 255); 
      $black = imagecolorallocate($im, 0, 0, 0);
      imagefilltoborder($im, 0, 0, $white, $white);
      imagefilledellipse($im, $i/2, $i/2, $i, $i, $black);
      imagepng($im, "circle_".$i."x".$i.".png);
    }
    

    Sorry to immediately take the problem out of Photoshop, but this is stackoverflow…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with IE. I have a layer that has this style
I have a layer that I need to transform. Currently I am using the
I am newbie to Cocos2d. I have this layer that represents my main game
I have a c++ layer that talks to a db, this c++ layer does
Hey. i have a main layer that contains a 4 circle layers and inside
I have this scenario in my 3-tier app with a Service Layer that serves
I have a layer-hosting view set up like this in a custom NSView subclass:
I have a Business Layer that passes a Conn string and a SQLCommand to
I have a C# database layer that with static read method that is called
I work with an OO database abstraction layer that I wrote. I have parameters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.