Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8359151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:03:15+00:00 2026-06-09T11:03:15+00:00

I’ve been looking around for a simple and small yet robust and fast (

  • 0

I’ve been looking around for a simple and small yet robust and fast (not comprehensive!) image library for C++ (C would suffice, if no C++ version is available).

Main features I’m looking for are:

  • Free (opensource is a plus)
  • Built for speed
  • No huge functional bloat (like ImageMagik, which is truly comprehensive but is a mammoth)
  • Tiny memory footprint
  • Only supports the absolute minimum of functions like load/save, resize, convert between formats. Nothing fancy
  • Error recovery for “broken” files (unlike stb_image.c, which has pretty poor error recovery)
  • MSVC and gcc friendly (I used CxImage for a number of years but with the latest version I’m having problems with MSVC 2010 and it would seem that active development and support for it has died out by now, so I’m about to drop it)
  • Should support popular modern formats, like JPEG2000, either directly or via a use of general libraries like libpng
  • Don’t care if it’s DirectX or OpenGL as I don’t plan on using it to display the images – only to file-process them for a web site
  • Having support for both static and dynamic linking is a plus
  • Threading support is a huge plus

Libraries I looked at and dismissed for one reason or another:

  • CxImage (no active development on it anymore)
  • ImageMagik – too huge (and slow)
  • stb_image.c – bad error handling, doesn’t support enough image formats
  • DevIL (havn’t dismissed yet, but haven’t looked at it much either – just learnt of it a few minutes ago on a similar post on SO) – based on it’s size and feature set it looks very promising for what I need though
  • FreeImage (same as DevIL – will take a look at it shortly but it’s a bit big in size to my taste)
  • SOIL (same as stb_image.c)
  • TimThumb – it’s a PHP, not a C/C++

In short I just want something as tiny as possible and as fast as possible at the expense of just having the absolute bare minimum of functionality but I’m yet to find a suitable candidate thus far.

Any suggestions from this community, please? But keep in mind the constraints I listed above – I don’t think it’s OK to throw an answer of a form “have you tried X?” where “X” doesn’t meet half of my needs 🙂

Edit: Looking a bit more into DevIL it would seem it could be what I need. It’s light, tiny, robust. Now I just need to make sure it performs.
Oh, and CImage (I forgot to mention it in the list) – didn’t like it’s performance (though I have to admit that the idea of template-only implementation is cute, to say the least)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:03:17+00:00Added an answer on June 9, 2026 at 11:03 am

    I strongly suggest you to write a little library around libpng and jpeglib (and every other low-level library for the formats you need to support). It is not that hard and you can code all the features you require.

    As an alternative, you can use some of the good c++ wrappers that already exists for that libraries. Here are some examples:

    • png++
    • JPEGReader/JPEGWriter
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I would like to count the length of a string with PHP. The string
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am doing a simple coin flipping experiment for class that involves flipping a
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Seemingly simple, but I cannot find anything relevant on the web. What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.