RE: Combinging Images with Photoshop
RE: Combinging Images with Photoshop
- Subject: RE: Combinging Images with Photoshop
- From: <email@hidden>
- Date: Fri, 11 Jan 2002 10:53:34 -0600
Off the top of my head, you would need the PhotoScripter plug in from Main
Event since you're going to be using a variable. I don't know how well it
works with Photoshop 6. PhotoScripter works nicely with versions 5 and 5.5.
Have a script that adds up the number of images (a loop). Have Photoshop
create a document that is 32 pixels by (number of images * 32) pixels
across. Then the script goes through the list (another loop) and places the
images one at a time by coordinates (i.e. {0,0}, {0,32},{0,64},etc...) The
coordinates are determined through simple math within the loop. I believe
PhotoScripter uses the upper right corner of an object for it's coordinates,
but I could be wrong.
If you want to tile the images, simply include a little more math in the
loops - say every sixth one gets 32 pixels added to the vertical coordinate
and 192 removed from the horizontal coordinate. So you go from {0,192} to
{32,0} and from {192,192} to {64,0} and so on...
Also the set up of the original document would be a little more difficult,
but again simple math. You've really saved yourself a lot of work by making
these images the same size already.
I think this operation would be difficult without PhotoScripter...using
Actions and the basic scripting Photoshop offers
Hope that gives you a start,
Ron Bishop
Macintosh Systems Administrator
The Kansas City Star
1729 Grand Blvd.
Kansas City, MO 64108
816/234-4943
-----Original Message-----