q. about overlaying multiple pictures

Subterranean
08-25-2004, 07:27 AM
I have a set number (7) of bitmap pictures, all of which are 128 pixels high, and an integer number of 128 pixels wide (256, 384 etc). What I'd like to do is be able to split these pictures up into seperate 128x128 pictures and store them, then when a user enters a 14 digit number, overlay the correct 7 128x128 pictures over each other, using a mask colour (its the vbGreen colour). For example if the use enters "05010104101107" it would first put down the fifth 128x128 section of the first large picture, then overlay the first 128x128 section of the second large picture, then the first section of the third etc.

This may require a bit of advanced programming though I hope not too much. I looked at the imagelist object, but that only allows overlaying of two images. I also looked at the loadpicture method of splitting the file into pieces, however couldn't get it to work properly.

Is this problem a bit too much or can someone help me.
Thanks.

pikzel_R
08-25-2004, 04:58 PM
I have a set number (7) of bitmap pictures, all of which are 128 pixels high, and an integer number of 128 pixels wide (256, 384 etc). What I'd like to do is be able to split these pictures up into seperate 128x128 pictures and store them, then when a user enters a 14 digit number, overlay the correct 7 128x128 pictures over each other, using a mask colour (its the vbGreen colour). For example if the use enters "05010104101107" it would first put down the fifth 128x128 section of the first large picture, then overlay the first 128x128 section of the second large picture, then the first section of the third etc.

This may require a bit of advanced programming though I hope not too much. I looked at the imagelist object, but that only allows overlaying of two images. I also looked at the loadpicture method of splitting the file into pieces, however couldn't get it to work properly.

Is this problem a bit too much or can someone help me.
Thanks.
Hi Subterranean,
I read thru all your forum threads to try and get an idea of where you are at in terms of VB graphics and you are correct that this is somwhat advanced in terms of what you have done before.

Did you have a chance to look up Bitblt and PaintPicture as was recommended to you on this "Splitting up an image" thread:
http://www.xtremevbtalk.com/t176655.html

If not, here's a newbie Bitblt thread for you to check out:
http://www.xtremevbtalk.com/t129548.html

eXeption
08-26-2004, 05:23 AM
Could u tell me which platform u want this upto???
I mean win 2K/nt/xp or win98, also can u use gdi+?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum