Registry / utility / freeimage

freeimage

JSON →
library3.18.0vcpkgunverified

FreeImage is a library for reading, writing, and manipulating graphics images in various formats.

vcpkg install freeimage
INSTALL
IMPORT
SIG · FREEIMAGE
F
freeimage
utilitycppv3.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FreeImage.h
#include <FreeImage.h>

Loads a JPEG image and prints its dimensions.

#include <FreeImage.h> #include <iostream> int main() { FreeImage_Initialise(); FIBITMAP *bitmap = FreeImage_Load(FIF_JPEG, "image.jpg", 0); if (bitmap) { std::cout << "Image loaded: " << FreeImage_GetWidth(bitmap) << "x" << FreeImage_GetHeight(bitmap) << std::endl; FreeImage_Unload(bitmap); } FreeImage_DeInitialise(); return 0; }
Debug
Known issues
gotchaFreeImage is not thread-safe; concurrent access to its functions may cause crashes.
fix
Use mutexes or ensure single-threaded access when calling FreeImage functions.
affects: *
Upgrade
Version history
3.18.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

freeimage — pip install freeimage · libregistry