-
Images
Hello Everybody,
I have a question. I have read up on the previous thread about loading jpg's and such on the borland environment, my question is this. I am using Dev-C++ and need to write an app that needs to accept a parameter that tells my program which scanned in image to open up. This will run on OS's from 98 to XP and I know the different OS's open up images in different utilities. I don't want anyone to write my code, I just want some advice. The code I seen from the previous thread looked long winded to do what I want to do. I need to read on how to open up images that are .bmp, .jpg, .tiff, etc. First question from all of this..... Passing a parameter from DJGPP to Dev-C++ should it be passed as a string parameter? Where should I start on displaying the images? Is GDI+ incorporated into Dev-C++? Can I get by with Win32 API? C++ in school did not teach me enough, that is for sure!!! Any suggestions would be appreciated.
Gratefully,
Kendal
-
One more Question?
Where can I find a reference list of C++ libraries, their functions, API's, their functions, etc. Preferrably in a printable or book format that I can use for constant reference and read away from the PC.
Thanks again,
Kendal
-
-
For simple usage of graphics you could use Allegro. If you're interested in only making 2d games or 2d graphics that aren't too graphically complex then Allegro is a good API for you to use. However, if you're more interested in creating intense graphical games that may be 3d, then I would start off using a different API. Click the link in my signature, and there you will be able to find quite a few useful links and a couple of basic tutorials using Allegro.
-
Images
The app that I am writing does not need any intense graphics, it is a Medical Records system and I need to be able to display images that are scanned in from the lab. Nothing too intense, just a scanned in image.
Thanks,
Kendal
-
APIs
Will I need to download any other API's besides Win32 if I decide to use them? I know Win32 is a part of windows so it exists always. Do other APIs need to be installed???
Thanks,
Kendal
-
2D images? Then i'd go with TechWins advice to use Allegro .
-
Use GDI+ for images. Read the tuts at MSDN
GDI+ performance is a little lacking but with a cached bitmap its ok for all but the most intensive uses.There is details on how to do all of this at MSDN.