🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.photoshop.scripting
6 messages
6 total messages Started by Wide_Eyed_Pupil Fri, 27 Mar 2009 03:31
Create a 'filmstrip' style image from a series of small images
#22
Author: 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!
Re: Create a 'filmstrip' style image from a series of small images
#24
Author: Paul_R
Date: Fri, 27 Mar 2009 09:42
2 lines
692 bytes
Maybe this might be a start...
 <http://www.ps-scripts.com/bb/viewtopic.php?t=2489>
Re: Create a 'filmstrip' style image from a series of small images
#27
Author: Wide_Eyed_Pupil
Date: Fri, 27 Mar 2009 14:43
3 lines
827 bytes
that's great, accept would like an option to add space b/w images of x pixels, either in script or user input.

Thanks for that link there's a few scripts there that are fodder.
Re: Create a 'filmstrip' style image from a series of small images
#29
Author: Paul_R
Date: Fri, 27 Mar 2009 15:22
2 lines
737 bytes
I have added optional spacing to the script now.
 <http://ps-scripts.com/bb/viewtopic.php?t=2489>
Re: Create a 'filmstrip' style image from a series of small images
#31
Author: Wide_Eyed_Pupil
Date: Sun, 29 Mar 2009 12:38
7 lines
1132 bytes
Thanks heaps Paul R.

Great enhancement. May I ask for one more minor enhancement?

These images are like placeholders that get replaced one by one over time. It would be stupendous to have the script make guides on the boarders of the images. In my case, as I'm using Right to Left direction with 23 px spacing, i would like vertical guides on the left and right edges of each image.

Thanks again for an excellent script.
Re: Create a 'filmstrip' style image from a series of small images
#32
Author: Paul_R
Date: Sun, 29 Mar 2009 14:45
2 lines
708 bytes
Optional guides have now been added
 <http://ps-scripts.com/bb/viewtopic.php?t=2489>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads