MCPcopy Create free account
hub / github.com/docling-project/docling-parse / pixel_format_name

Function pixel_format_name

app/pybind_parse.cpp:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace
19{
20 const char* pixel_format_name(pdflib::pixel_format fmt)
21 {
22 switch(fmt)
23 {
24 case pdflib::PIXEL_FORMAT_GRAY: return "gray";
25 case pdflib::PIXEL_FORMAT_RGB: return "rgb";
26 case pdflib::PIXEL_FORMAT_CMYK: return "cmyk";
27 default: return "unknown";
28 }
29 }
30
31 const char* instruction_name(pdflib::RENDER_INSTRUCTION_NAME name)
32 {

Callers 2

render_bitmapMethod · 0.85
render_bitmapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected