Ok.. I am making some kind of an image minipulation editor and, I got my bitmat editing data set as Picture(1024,1024) as RGBC which is
Type RGBC
R As Integer
G as Integer
B as Integer
END TYPE
now when I save it as bmp, what is the actual method to do it for larger files then your display screen?
i understand that displaying the entire picture and then getting the X,Y,X1,Y1 coordinates saves it but it's larger than my display screen.
how can this be done?
Saving BMP files..
-
- Posts: 2
- Joined: Jul 21, 2005 19:53
- Contact:
-
- Posts: 341
- Joined: May 27, 2005 7:01
- Location: Canada
- Contact:
nonono. GfxLib uses a 32-bit ARGB pixel format. Unless you are saving a GfxLib sprite BSAVE's BMP headers is useless.
You'll have to implement it yourself, either by blitting the sprite to a GfxLib sprite, or writing the file yourself. BMPs are on eof the simplest file formats.... the specifications on http://wotsit.org aren't terribly difficult to follow.
You'll have to implement it yourself, either by blitting the sprite to a GfxLib sprite, or writing the file yourself. BMPs are on eof the simplest file formats.... the specifications on http://wotsit.org aren't terribly difficult to follow.