#include "CImage.h"
#include "FreeImagePlus.h"
#include <cassert>
Go to the source code of this file.
|
void DLL_CALLCONV | InitPNM (Plugin *plugin, int format_id) |
|
◆ InitPNM()
void DLL_CALLCONV InitPNM |
( |
Plugin * |
plugin, |
|
|
int |
format_id |
|
) |
| |
Definition at line 797 of file PNMPlugin.cpp.
800 plugin->format_proc =
Format;
803 plugin->regexpr_proc =
RegExpr;
804 plugin->open_proc =
nullptr;
805 plugin->close_proc =
nullptr;
806 plugin->pagecount_proc =
nullptr;
807 plugin->pagecapability_proc =
nullptr;
808 plugin->load_proc =
Load;
809 plugin->save_proc =
Save;
814 plugin->supports_icc_profiles_proc =
nullptr;
static const char *DLL_CALLCONV RegExpr()
static const char *DLL_CALLCONV MimeType()
static BOOL DLL_CALLCONV SupportsExportType(FREE_IMAGE_TYPE type)
static const char *DLL_CALLCONV Description()
static FIBITMAP *DLL_CALLCONV Load(FreeImageIO *io, fi_handle handle, int, int, void *)
static const char *DLL_CALLCONV Format()
static BOOL DLL_CALLCONV Validate(FreeImageIO *io, fi_handle handle)
static BOOL DLL_CALLCONV SupportsExportDepth(int depth)
static const char *DLL_CALLCONV Extension()
static BOOL DLL_CALLCONV Save(FreeImageIO *io, FIBITMAP *dib, fi_handle handle, int, int flags, void *)
◆ s_maxval