|
-
Feb 23rd, 2001, 08:35 PM
#1
Thread Starter
Lively Member
OK, I know how to save bitmaps, but I have a small program which will draw the background for my game. The BG always comes out at around 2.25 MB. I wish to lower the size. The background is mostly black, so when I zip it, it compresses by about 98%. I would like to save the picture in a gif or jpeg format.
Website
Send an e-mail to [email protected] to get a sample of my games.
1. Hardware: The parts of a computer system that can be kicked.
2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
3. Bad command or file name. Go stand in the corner.
4. Never trust a computer you can't throw out the window.
-
Feb 24th, 2001, 11:48 AM
#2
Lively Member
Wyh do you want to save the background, when you have it already drawn?
-
Feb 24th, 2001, 02:05 PM
#3
Thread Starter
Lively Member
it is a problem caused with the refresh. I find it only works if it is in a file. And besides, it runs faster.
Website
Send an e-mail to [email protected] to get a sample of my games.
1. Hardware: The parts of a computer system that can be kicked.
2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
3. Bad command or file name. Go stand in the corner.
4. Never trust a computer you can't throw out the window.
-
Feb 25th, 2001, 04:34 AM
#4
Thread Starter
Lively Member
Just rembmbered one more reason, so the user can change the picture easily.
Website
Send an e-mail to [email protected] to get a sample of my games.
1. Hardware: The parts of a computer system that can be kicked.
2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
3. Bad command or file name. Go stand in the corner.
4. Never trust a computer you can't throw out the window.
-
Feb 25th, 2001, 06:05 AM
#5
Lively Member
But that will also be slow.
You may use the BitBlt API call to transport an image of an user defined size from one PictureBox to any location into another PictureBox.
-
Feb 26th, 2001, 12:09 AM
#6
Thread Starter
Lively Member
The program that makes the BG is differnt then the one that uses it. And please stop giving me all these reasons not to do, just tell me how to do it.
Website
Send an e-mail to [email protected] to get a sample of my games.
1. Hardware: The parts of a computer system that can be kicked.
2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
3. Bad command or file name. Go stand in the corner.
4. Never trust a computer you can't throw out the window.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|