Saved bitmap files are small - why?

  • Thread starter Thread starter C
  • Start date Start date
C

C

The bitmap files saved from VB6 were full bitmap files with every
pixel in 24 bits. In VB6, I am getting much smaller files. The bitmaps
contain the full information. Are they RLE compressed?

Will these work when converted to *.avi?
 
Am 18.09.2010 23:07, schrieb C:
The bitmap files saved from VB6 were full bitmap files with every
pixel in 24 bits. In VB6, I am getting much smaller files. The bitmaps
contain the full information. Are they RLE compressed?

How do you save them? If you don't specify the format, they are saved
as PNG.

bmp.Save("e:\test.bmp", Imaging.ImageFormat.Bmp)
Will these work when converted to *.avi?

AVI is a container format but it doesn't specify the image format.
 
Am 18.09.2010 23:07, schrieb C:




How do you save them? If you don't specify the format, they are saved
as PNG.

I have

MyImage.Save("p2.bmp").

This is producing bmp files which I can open with Paint. I wonder why
they are much smaller than the bmp files produced from VB6.
   bmp.Save("e:\test.bmp", Imaging.ImageFormat.Bmp)


AVI is a container format but it doesn't specify the image format.

OK. So I guess it will just put the frames one after another in
whatever format they are available. Then the Windows Media Player will
have to figure out how to display them.

Thanks.
 
Am 19.09.2010 10:59, schrieb C:
I have

MyImage.Save("p2.bmp").

This is producing bmp files which I can open with Paint.

Yes, Paint can open Png files.
I wonder why
they are much smaller than the bmp files produced from VB6.

Because the letters "bmp" don't say anything about the image format.
You can name an .exe file .bmp and it won't become a beautiful picture.
OK. So I guess it will just put the frames one after another in
whatever format they are available. Then the Windows Media Player will
have to figure out how to display them.

?? These were two questions? If you want to make a (AVI) movie from a
picture sequence, I recomend "virtualdub".
 
Am 19.09.2010 10:59, schrieb C:









Yes, Paint can open Png files.


Because the letters "bmp" don't say anything about the image format.
You can name an .exe file .bmp and it won't become a beautiful picture.

Yes. I thought VB writes *.bmp by default as earlier, but this has
changed.
?? These were two questions? If you want to make a (AVI) movie from a
picture sequence, I recomend "virtualdub".

Thanks. I will read up. Hopefully, they will take *.png files to make
an AVI file.
 
Back
Top