MCPcopy Create free account
hub / github.com/BlueMatthew/WechatExporter / parseImage

Method parseImage

WechatExporter/core/MessageParser.cpp:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void MessageParser::parseImage(const WXMSG& msg, const Session& session, TemplateValues& tv) const
248{
249 std::string vFile = combinePath(m_userBase, "Img", session.getHash(), msg.msgId);
250 parseImage(m_outputPath, session.getOutputFileName() + "_files", vFile + ".pic", "", msg.msgId + ".jpg", vFile + ".pic_thum", msg.msgId + "_thumb.jpg", tv);
251}
252
253void MessageParser::parseVoice(const WXMSG& msg, const Session& session, TemplateValues& tv) const
254{

Callers

nothing calls this directly

Calls 5

combinePathFunction · 0.85
getHashMethod · 0.80
getOutputFileNameMethod · 0.80
setNameMethod · 0.80
copyFileMethod · 0.45

Tested by

no test coverage detected