$ nm -gDC ../envs/occt-7.2/lib/libTKService.so | grep FreeImage
U FreeImage_AdjustGamma
U FreeImage_AllocateT
U FreeImage_ColorQuantize
U FreeImage_ConvertTo24Bits
U FreeImage_ConvertToType
U FreeImage_FIFSupportsReading
U FreeImage_FlipVertical
U FreeImage_GetBits
U FreeImage_GetBPP
U FreeImage_GetColorType
U FreeImage_GetFIFFromFilename
U FreeImage_GetFileType
U FreeImage_GetHeight
U FreeImage_GetImageType
U FreeImage_GetPitch
U FreeImage_GetWidth
U FreeImage_Load
U FreeImage_Save
U FreeImage_Unload
Issue:
FreeImage seems to be missing in occt 7.4, this causes V3d_Viewer.Dump to always save bmp images.
See https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=src/Image/Image_AlienPixMap.cxx;h=5d4d8a9b620bf9cc3c20dd3fccfcaeae70bd5b44;hb=fd47711d682be943f0e0a13d1fb54911b0499c31
Environment (
conda list
):If I look at libTKService in occt-7.4 FreeImage is not there:
But with occt-7.2 it is: