Search code examples
c++clinuxsave-imageloadimage

Is there any native functions in Linux that load and save images without using external libraries?


In Windows LoadImage API loads image to the memory.

FreeImage (http://freeimage.sourceforge.net) is a cross-platform library for loading and saving images, but I want to use functions like LoadImage in Windows, that do not depend to any external libraries like FreeImage.

Is there any native functions in Linux that load and save images without using external libraries?


Solution

  • No, there isn't. Loading and saving images is really not the job of an Operating System kernel like Linux. A kernel manages memory, IO and CPU resources, and that's it. Everything else should be done by user-level code.