Re: Stitching lots of images together?
From: Ian Cowley (me3_at_privacy.net)
Date: 02/11/04
- Next message: Bonj: "RE: Retrieving a recordset from dll function problem"
- Previous message: Mike D Sutton _at_ Work: "Re: Stitching lots of images together?"
- In reply to: Bonj: "RE: Stitching lots of images together?"
- Next in thread: Ian Cowley: "Re: Stitching lots of images together?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Feb 2004 15:22:36 -0000
Bonj <anonymous@discussions.microsoft.com> burbled:
> Save the images as individual bitmap files, then write a program that
> joins bitmap files together. A 24-bit bitmap (which is what VB's
> pictureboxes will output) consist of a BITMAPFILEHEADER, then a
> BITMAPINFOHEADER, then a load of bytes describing the actual pixels.
> You've got to remember three things: a) the bytes describe the pixels
> going from left to right, bottom to top.
> b) each row has to contain a multiple of 4 bytes, if it doesn't it has to
> be padded with zeros.
> c) for a 24-bit bitmap each pixel is 4 bytes.
Cheers, I might do that. The original files are GIF files.
So how's this as a plan:
a) Open a gif.
b) Save it as a bitmap.
c) Open the bitmap to get the header
d) Open the 1600 gif files I need and then write out the data using
GetDIBits from the picture box (or similar).
Will that work? I'd imagine speed will be an issue there :(
-- Ian Cowley (Not Reverend) - Perfecting pedantry through practice Check www.iancowley.co.uk for contact details! "Dad, do you even know what 'rhetorical' means?" "Do I know what rhetorical means?!"
- Next message: Bonj: "RE: Retrieving a recordset from dll function problem"
- Previous message: Mike D Sutton _at_ Work: "Re: Stitching lots of images together?"
- In reply to: Bonj: "RE: Stitching lots of images together?"
- Next in thread: Ian Cowley: "Re: Stitching lots of images together?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|