I need a source code - how to use JPG-images in Visual C++?
Posted on 2001-06-11
Can you provide me with a source code - which is able to operate with JPEG-images using C++ and Win32API? (I mean without MFC or any other HUGE libraries) Also it should works on Windows 95, NT 4.0 and greater. I don't need to save images, only to load them from files and dislay them on the screen.
I wrote a small game. The .exe file size is 32Kb.
But using .bmp files means to inflate the game size.
F.e. the file size of all images in .bmp = 115Kb but in JPEG = 64Kb. Do you see the difference? Plus JPEG images looks better.
If you also provide me with a some good website about game programming technics in C++ it would be perfect and will costs more points! :)
Thank you in advance!