Blue Brain BioExplorer
core::freeimage Namespace Reference

Classes

struct  ImageDeleter
 
struct  MemoryDeleter
 

Typedefs

using ImagePtr = std::unique_ptr< FIBITMAP, ImageDeleter >
 
using MemoryPtr = std::unique_ptr< FIMEMORY, MemoryDeleter >
 

Functions

bool SwapRedBlue32 (FIBITMAP *freeImage)
 
std::string getBase64Image (ImagePtr image, const std::string &format, const int quality)
 
ImagePtr mergeImages (const std::vector< ImagePtr > &images)
 

Typedef Documentation

◆ ImagePtr

using core::freeimage::ImagePtr = typedef std::unique_ptr<FIBITMAP, ImageDeleter>

Definition at line 49 of file ImageUtils.h.

◆ MemoryPtr

using core::freeimage::MemoryPtr = typedef std::unique_ptr<FIMEMORY, MemoryDeleter>

Definition at line 50 of file ImageUtils.h.

Function Documentation

◆ getBase64Image()

std::string core::freeimage::getBase64Image ( ImagePtr  image,
const std::string &  format,
const int  quality 
)

Definition at line 62 of file ImageUtils.cpp.

◆ mergeImages()

ImagePtr core::freeimage::mergeImages ( const std::vector< ImagePtr > &  images)

Definition at line 86 of file ImageUtils.cpp.

◆ SwapRedBlue32()

bool core::freeimage::SwapRedBlue32 ( FIBITMAP *  freeImage)

Definition at line 40 of file ImageUtils.cpp.