divided into several 16x16 to create an single image.
Drawing Image From Multiple Images
Page 1 of 12 Replies - 1627 Views - Last Post: 26 December 2012 - 08:04 PM
#1
Drawing Image From Multiple Images
Posted 26 December 2012 - 05:56 PM
Is there a way to draw an image from multiple images. Such as
divided into several 16x16 to create an single image.
divided into several 16x16 to create an single image.
Replies To: Drawing Image From Multiple Images
#2
Re: Drawing Image From Multiple Images
Posted 26 December 2012 - 06:10 PM
This link shows how this can be done with Bitmaps. If they are another image format then I assume there are libraries that can achieve a similar result. Or, if suitable, first convert the images to bitmaps.
This C# example demonstrates how to merge images to one (should be straight-forward to modify for VB).
This C# example demonstrates how to merge images to one (should be straight-forward to modify for VB).
This post has been edited by andrewsw: 26 December 2012 - 06:13 PM
#3
Re: Drawing Image From Multiple Images
Posted 26 December 2012 - 08:04 PM
It really shouldn't be hard. For example if I creating multiple images for sprites on a sprite sheet of 32 different sprites(16x16) then you could use two for loops, and copy from the image the specified rectangle.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|