Home » Questions » Computers [ Ask a new question ]

Tool to convert a series of image into a single sprite sheet

Tool to convert a series of image into a single sprite sheet

Are there any known tools that can take a serie of pictures and generate a single sprite sheet from them? (ie. place all the images into a single image, one after the other).

Asked by: Guest | Views: 280
Total answers/comments: 2
Guest [Entry]

"I've never had to do this exactly myself, but if I did, I would use imagemagick.

montage -background ""transparent"" -depth 8 -type TrueColorMatte img??.png \
-geometry 50x50 -tile 10x10 -matte -transparent ""transparent"" \
-type TrueColorMatte -depth 8 sprite.png

I don't have a pat answer for finding duplicate sprites, but the imagemagick compare program is a good place to start. Check out this page for practical examples on how to perform various comparisons.

UPDATE: There is a BSD licensed css & sprite generator implemented in php. It uses imagemagick to do the dirty work and even has an option to ignore duplicates."
Guest [Entry]

"If it's a sprite builder that you're searching, here is one:
Sprite Construction Kit

If it's image stitching, here are some freeware image stitchers:

Microsoft's Image Composite Editor

The application takes a set of
overlapping photographs of a scene
shot from a single camera location and
creates a high-resolution panorama
incorporating all the source images at
full resolution. The stitched panorama
can be saved in a wide variety of
formats.

Autostitch
Choose your pictures and let it format the photos into a single combined panorama. All lighting corrections and blending are done for you.

Panorama Perfect Lite
Using nodes on the blending area of each photo, you can match each structure (tree, building etc.) to ensure that there is no distortion when joining. More complex, but better stitch without the bending and distortion you sometimes get with Autostitch.

Windows Live Photo Gallery
Used for managing your photos, but the Make menu contains a ""Panorama Stitcher"". Select the photos from the thumbnails viewer, and the program does the rest. Cropping and adjustment is immediately at hand under the Fix menu."