I tried to load an image from this Latex to image website

http://mathtran.org/cgi-bin/mathtran?D=3;tex=1%2B2

to get an PNG image of 1+2. However, what I get is just the image of the number 1.

Here is my code
Qt Code:
  1. void FTransUI::fetchDone(QNetworkReply* reply) {
  2. QImage image;
  3. if (reply->error() == QNetworkReply::NoError) {
  4. cout << "bytes = " << reply->bytesAvailable() << endl; //
  5. image.load(reply, 0);
  6. cout << "After load bytes = " << reply->bytesAvailable() << endl;
  7. cout << "Image = " << image.width() << " x " << image.height() << endl;
  8. if (!image.isNull()) {
  9. QPixmap pixmap = QPixmap::fromImage(image);
  10. imgLabel->setPixmap(pixmap);
  11. }
  12. else
  13. QMessageBox::information(this, "Error", tr("NULL IMG"));
  14. }
  15. else {
  16. QMessageBox::information(this, "Error", tr("Cannot access"));
  17. }
  18. reply->deleteLater();
  19. //delete reply;
  20. }
To copy to clipboard, switch view to plain text mode 

Previous to image.load, bytesAvailable = 366
After load, bytesAvailable = 0 (which is normal after reading all data of an image)
However, the size of the image is 10 x 15 (the width is wrong, it should be bigger than 10 for image of 1+2).
I have no problem like this when I use QHttp (which is now obsolete).
Thanks for your help.