I'm trying to load an image that has no header to determine type.
How do I specify what format I want?

QString path = "..."
QImage* myVar = new QImage(path, (char *)QImage::Format_RGB32);

Causes a seg fault

Please help.