摘要:
QImage image;QByteArray ba;QBuffer buffer(&ba);buffer.open(QIODevice::WriteOnly);image.save(&buffer, "PNG"); // writes image into ba in PNG format 阅读全文
摘要:
转自:https://www.cnblogs.com/allenlooplee/archive/2012/07/03/2574119.html 遇见C++ Lambda Written by Allen Lee If you die when there's no one watching, and 阅读全文