Glenn,

Thanks for your response. My answers are inline below.

> -----Original Message-----
> From: Glenn Linderman [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2008 7:24 PM
> To: Eric Brown
> Cc: [email protected]
> Subject: Re: [magick-users] help building a script to combine images.
> 
> On approximately 9/15/2008 2:33 PM, came the following characters from
> the keyboard of Eric Brown:
> > Hello,
> >
> > I need help building a script with IM. Please note that I have very
> little
> > recent experience with this software, although I understand some of the
> > basic concepts. As such, I would be willing to pay someone to help me
> build
> > this script.
> >
> > The script will need to combine two images. Files will be named like
> this:
> > a_b_c#.jpg. The file names will be variable in length. Images with
> similar
> > names need to be combined. So, JONES_First_Last1.jpg and
> > JONES_First_Last2.jpg would be a match. They need to be "combined"
> > side-by-side into a new image. So, if each image is x pixels wide, the
> final
> > image will be 2x pixels wide. I have thousands of files that I need to
> > combine in this manner, so the script would need to be run without user
> > intervention.
> >
> > Some files do not have a match, so they would need to be combined with a
> > placeholder so that it is still 2x wide.
> >
> > I'm running Windows XP, and would need to work from the Windows command
> line
> > (I don't have time to set up a web server with IM on it).
> >
> > Is something like this possible?
> 
> 
> Likely it is possible.
> 
> Answers to the following questions might shed some additional light on
> the scope of the project:
> 
> 1) Files to be combined would have the same name, except for the
> digit(s) before the extension?  Are those digits always 1 and 2?

Yes, correct. The digits are always 1 and 2. Sometimes there might not be a
2.

> 2) Are all images to be combined the same width, such that it is really
> x + x = 2x, or is that just an approximation of "roughly twice the
> width"?  Is x constant across the whole collection, or variable?

Yes, all images are the same width.

 
> 3) Is there anything known about the y dimension?  Are they all exactly
> the same height?  Are all the ones to be combined the same height?  If
> different heights might occur in a combination, would you want them
> combined with the same baseline, vertically centered in the tallest
> space, combined with the same top alignment?

All images are the same height

> 4) What fill color for the remaining rectangle(s), when there is a
> placeholder, or heights do not match?

White


> 5) Can you supply a few sample pictures for development purposes, or are
> they all private?

I'm sorry, I can't do that. It's not so much that they're private, but our
contract with our client forbids it.


> 6) Are all the pictures .jpg?  I assume it is acceptable, then, to
> decompress the two .jpg files, combine them, and recompress, as I don't
> know of any algorithm to combine them in a lossless manner.

Yes, that is acceptable.

> Further discussion should probably be off-list, although the answers to
> these questions could be on-list, probably, as they are technical in
> nature.

I probably should have revealed this earlier. One division of our company
does school photography. The software we use to capture and manage the
images will produce a "proof" for each picture we take. This proof is named
with the student's home room, first, and last name. Additionally, text with
this same information is overlaid on each jpg "proof." My goal is to combine
two proofs side by side, so that they can be printed as one image.

Sorry I didn't provide this information earlier. I wasn't sure if it was
relevant.

Thanks for any additional advice. Please contact me off list for
non-technical questions.

Eric

> 
> --
> Glenn -- http://nevcal.com/
> ===========================
> A protocol is complete when there is nothing left to remove.
> -- Stuart Cheshire, Apple Computer, regarding Zero Configuration
> Networking

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to