MCPcopy Create free account
hub / github.com/alicevision/AliceVision / EImageFileType_enumToString

Function EImageFileType_enumToString

src/aliceVision/image/io.cpp:177–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177std::string EImageFileType_enumToString(const EImageFileType imageFileType)
178{
179 switch (imageFileType)
180 {
181 case EImageFileType::JPEG:
182 return "jpg";
183 case EImageFileType::PNG:
184 return "png";
185 case EImageFileType::TIFF:
186 return "tif";
187 case EImageFileType::EXR:
188 return "exr";
189 case EImageFileType::NONE:
190 return "none";
191 }
192 throw std::out_of_range("Invalid EImageType enum");
193}
194
195std::ostream& operator<<(std::ostream& os, EImageFileType imageFileType) { return os << EImageFileType_enumToString(imageFileType); }
196

Callers 7

textureNameMethod · 0.85
io.cppFile · 0.85
aliceVision_mainFunction · 0.85
prepareDenseSceneFunction · 0.85
aliceVision_mainFunction · 0.85
aliceVision_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected