Hi.
Im doing some opengl coding, but most info I find is using third party libraries. My target is windows 7 and over and Im pretty sure that win32 already has support for what this libraries do.
Specifically im looking for win32 code snippets (in win32 assembly or c (not C# or C++)) to:
- Decompress a jpg to a memory buffer. (eliminate libjpeg dependency)
- Decompress a png (with translucency) to a memory buffer. (eliminate libpng and zlib dependency)
- Drawing true type text on opengl without using freetype. (eliminating freetype dependency)
My target is to eliminate all the dependencies I can so that the resulting executable is smaller and without need of any dll that is not installed by windows 7 by default.
Does anyone knows where I can find snippets of code that do this?