Archived

This topic is now archived and is closed to further replies.

haro

Sticking multiple images in one image file

Recommended Posts

haro    502
What is the best way to place multiple images in one image file? Namely, I have a set of 10 32x32 tiles that I want to put into one .bmp file. I have been using photoshop and creating a 320x320 file, and hand placing each tile. The problem is this is already very prone to "off by a pixel" mistakes, and it takes much too much time. When I have a set of 100 or 1000 tiles I need to set this would be rediculous. I could also write a program to do it, but that seems like it would be overboard just to paste a bunch of images in an orderly fashion. What do most people do??? Thanks.

Share this post


Link to post
Share on other sites
Syrus    122
I will use in my game the same thing because i think it is faster. If you load one image in computers memory and then copy parts of that image onto screen it takes lesser time. If your computer must load image and then copy it onto screen, then load another copy it onto screen etc.. It takes more time.

Please someone correct me if you think i have wrong opinion.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Like most things in programming, there is just no easy way around some of the stuff you want to do. In these cases it is best to just roll up the sleeves and get to work. . .

Share this post


Link to post
Share on other sites
Hairybudda    116
Looks like you better get cracking. I''ve not come across any useful utilities like that. Writing a program would be better than all the elbow grease though.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Just make a grid for 32 pixels and set snap on. You still have to hand place them but you wont be prone to "off by a pixel" mistakes.

Share this post


Link to post
Share on other sites
NaliXL    120
Oh well, just put one together for you. It''s only a few lines of code in Delphi, plus some drag&drop. Might not be bug-free though, it''s a 10-minute program

Handling instructions :
1. start program
2. Press button
3. Select files to merge
4. Select output-file. Don''t forget to add extension manually...

Here it is : http://home.zonnet.nl/jaapjp/Imagemerger.zip

Share this post


Link to post
Share on other sites
haro    502
When I executed it on my PC strange things happened. It minimized itself to the task bar, and then when I restored it.. it appeared to be located below the taskbar and unselectable..

Share this post


Link to post
Share on other sites
NaliXL    120
quote:
Original post by haro
When I executed it on my PC strange things happened. It minimized itself to the task bar, and then when I restored it.. it appeared to be located below the taskbar and unselectable..


Ah, that''s probably because I''ve designed my app useing a screen-resolution of 1280x1024, positioning it somewhere down on the screen. I''ll change that prolly within 10 mins from this post....

Share this post


Link to post
Share on other sites