MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / temp_png_path

Function temp_png_path

tests/Mask.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace openshot;
27
28static std::string temp_png_path(const std::string& base) {
29 std::stringstream path;
30 path << QDir::tempPath().toStdString() << "/libopenshot_" << base << "_"
31 << getpid() << "_" << rand() << ".png";
32 return path.str();
33}
34
35static std::string create_mask_png(const std::vector<int>& gray_values) {
36 const std::string path = temp_png_path("mask_effect");

Callers 1

create_mask_pngFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected