In memory image compression is essential for any type of visual computing application. Images alone can take a good amount of memory, and when creating an application which uses many images, you may soon find yourself using several gigabytes of memory. While this may be fine for your personal workstation, it may not be okay if you intend to release your application to the public. To work around this memory consumption problem, you’ll want to use in-memory image compression techniques to reduce your program’s memory footprint. Continue reading ‘In Memory Image Compression tutorial’ »
Posts tagged ‘JPEG’
[Updated 6-23-2025] Over a decade ago, this was written to show how to load a JPG with C++ using GDI+. However, GDI+ is effectively obsolete, and so this article will show you another, more platform independent way to load a JPG (or JPEG), PNG, BMP, TGA, HDR in a very short amount of time, and also how to modify the image data and write an image file to disk.
Continue reading ‘How to load a JPG with C++’ »