MCPcopy Create free account
hub / github.com/MITK/MITK / ContentTypeFor

Function ContentTypeFor

Modules/RESTAPI/src/mitkRenderingController.cpp:821–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819 }
820
821 constexpr const char* ContentTypeFor(mitk::ScreenshotFormat f)
822 {
823 return (f == mitk::ScreenshotFormat::Jpeg) ? "image/jpeg" : "image/png";
824 }
825
826 /**
827 * \brief Resolved query parameters for the screenshot endpoints.

Calls

no outgoing calls

Tested by

no test coverage detected