Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I was wondering how I can get my 110+ .png map tiles conveniently into a 1:1 pixel ratio size map .png. Ive been scrolling through google and such, and the forum's for the free ware game that I am modding, but the app im using recognizes only .png files, and i want more than 1% of the map. If you guys know of a program I would be very appreciative.

share|improve this question
1  
2  
I'd probably roll my own, as that doesn't sound too complicated, and I could add any features I wanted. stb_image, for instance, is a free library that supports both loading and saving of pngs easily. –  Jari Komppa Dec 19 '11 at 10:39
add comment

2 Answers

up vote 6 down vote accepted

Such as this (free license for bloggers and framework developers) or this (completely free but a bit less flexible)?

share|improve this answer
3  
D:< I spend 2 whole days looking for something and you just whip it out minutes after I ask? Don't get me wrong I am very grateful, but wow! –  Tyler Dec 19 '11 at 4:48
2  
The second will be more useful since I can edit the length and width with text. Thanks, you saved me time, sleep and headaches ;). –  Tyler Dec 19 '11 at 5:04
2  
No problem, glad it helped :) Finding stuff online is usually easy as long as you know what to search for. In this case I knew immediately that I needed some sort of texture packer or spritesheet maker so... –  David Gouveia Dec 19 '11 at 6:05
add comment

ImageMagick with it's convert -append can also be used for this. Though, it only does appending into one direction, but if your tiles are named ascending (f.e. tile001.png) it can still be used in a loop:

convert tile00*.png +append line1.png
convert tile01*.png +append line2.png
convert line*.png -append wholeImage.png

As pointed out by bummzack, montage will work also good.

montage tile*.png -geometry +0+0 wholeImage.png
share|improve this answer
4  
You could also use ImageMagicks montage command. As described here. –  bummzack Dec 19 '11 at 9:37
1  
@bummzack: Thanks, I'm not sure how I missed that. As an informational note only, that site has a very poor rating, I'm not sure why. –  Bobby Dec 19 '11 at 9:41
3  
never heard of that WOT reputation thing. The procedure outlined in the blog post works fine though. I have used it myself in multiple occasions. –  bummzack Dec 19 '11 at 9:43
    
+1 for using montage. I've used that many times to make sprites from individual frames. Very handy. –  stephelton Dec 19 '11 at 15:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.