Vampyre Imaging Library Forum

Imaging Category => Help & Questions => Topic started by: martinrame on 9 November 2010, 20:40:04

Title: Loading bitmap image without header
Post by: martinrame on 9 November 2010, 20:40:04
Is there a way to load a bitmap image without header?.
Title: Re: Loading bitmap image without header
Post by: Galfar on 15 November 2010, 00:26:29
You mean just raw data (pixel memory dumped to file) or Windows Bitmap format?
Title: Re: Loading bitmap image without header
Post by: Leonardo on 8 January 2011, 17:16:49
Sorry for my late reply. I'm talking about just raw data (from file or tstream).
Title: Re: Loading bitmap image without header
Post by: Galfar on 8 January 2011, 19:08:15
Checkout new raw IO functions in Imaging.pas (source in SVN):
ReadRawImageFromFile, ReadRawImageFromStream, etc.
You need to know the size and bit depth of the image of course.
Title: Re: Loading bitmap image without header
Post by: martinrame on 10 January 2011, 12:44:35
Thanks Galfar. I'll take a look at them.