MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / saveImage

Method saveImage

Tools/PartioViewer/PartioViewer.cpp:667–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665
666
667void PartioViewer::saveImage(const std::string &fileName, const void *pixels, unsigned int width, unsigned int height)
668{
669 m_jpegFile = fopen(fileName.c_str(), "wb");
670 TooJpeg::writeJpeg(outputJpg, pixels, width, height);
671 fclose(m_jpegFile);
672}
673
674
675void PartioViewer::generateSequence()

Callers

nothing calls this directly

Calls 2

writeJpegFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected