I was able to decode that string with QByteArray::fromBase64() without any problems.
#include <QCoreApplication>
#include <QByteArray>
#include <QFile>
const char data[] = "TU...A=";
int main( int argc, char **argv )
{
}
#include <QCoreApplication>
#include <QByteArray>
#include <QFile>
const char data[] = "TU...A=";
int main( int argc, char **argv )
{
QCoreApplication app( argc, argv );
QFile f( "out.tiff" );
f.open( QIODevice::WriteOnly );
f.write( QByteArray::fromBase64( data ) );
}
To copy to clipboard, switch view to plain text mode
The only problem is that this is a TIFF file and Qt itself doesn't support TIFF.
Bookmarks