🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #22

Create a 'filmstrip' style image from a series of small images

#22
From: Wide_Eyed_Pupil
Date: Fri, 27 Mar 2009 03:31
24 lines
1770 bytes
This follows on from previous thread but thought it should get it's own thread. Previous thread:

Script to edit actual text in type layer with number generation?
christoph pfaffenbichler, "Script to edit actual text in type layer with number generation?" #3, 24 Mar 2009 11:25 pm </webx?14@@.59b862ff/2>
That JS code would make a great basis for this script

Wondering how hard it would be to make a script that creates an image by concatenating a series of images into a horizontal strip. I'm new to JS so it's a bit of a leap for me on my own. Algorithm might be something like this:

start with base image file "numbers" with a text layer on top text layer has contents "01",
image size is160px x 90px;
make a new file "filmstrip " same size as "numbers"
paste "numbers" in as pixels only (flattened/merged)
loop for n instances; 

      enlarge "filmstrip" canvas width by image width + spacer width (image
      anchored on the RHS, same height) make text number in "numbers" ++ copy
      "numbers" paste into "filmstrip" on LHS as pixels (flattened/merged) end
      loop





Just writing that tells me I don't know enough JS to do this!
Technical Details
Message-ID: <59b86c81.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,ec382aa4ed4a3066,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Wide_Eyed_Pupil@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Create a 'filmstrip' style image from a series of small images
Message-ID: <59b86c81.-1@webcrossing.la2eafNXanI>
Date: Thu, 26 Mar 2009 20:31:22 -0700
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit