http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BMPs again:)



If you are so concerned with speed, I would suggest to write a program that
loads BMPs and stores them the exact way you are storing them in memory.
That way you can read a file in no-time. So, read the BMP into your own
struct and save that struct as is directly to a file.

Just a word of caution - "Don't optimize what don't need optimization"

/C

----- Original Message -----
From: stephen healy <steven.h@e-garfield.com>
To: <gameprogrammer@topica.com>
Sent: Monday, March 25, 2002 2:09 PM
Subject: BMPs again:)


> Sorry for asking such a boring question that has probably been asked and
answered a million times already but here goes.  I've read all those
tutorials on loading .bmp's and they all use the slow method of reading in
bitmaps using the LoadImage() function and all the windows garbage.  I would
like to know how to load one by reading it in.  Any good tutorials would
help too.  I'm using DirectX and I plan on using fread() but if you know a
better reading function that's fine with me.
> Thanks again.
>
> _____________________________________________________________
> Calling all cartoon fans!
>
> Garfield keeps millions of newspaper readers laughing over their morning
corn flakes...now he's waddling into cyberspace to spread his mirth (and
girth)!
>
> You can now get the full-color Garfield comic strip e-mailed to you every
day of the week -- absolutely FREE! Just go to
http://www.garfield.com/signup/ to register!
>
>

==^================================================================
This email was sent to: list@gameprogrammer.com

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrGcz.bV8N8c
Or send an email to: gameprogrammer-unsubscribe@topica.com

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================




  • References:
    • BMPs again:)
      • From: stephen healy <steven.h@e-garfield.com>