Hello,

i have an application which writes pictures to *.png files.

Some of them are getting rather big - width becomes in the range on 150000 
pixels.
If the width grows above about 32k the file is somehow corrupt. Symptom here 
is that all drawings with x coordinates > 32K are cutted in the generated 
file. There are no errors displayed in this case.

A little code excerpt:
-------------- cut --------------
QImage image;  // filled graphics

// some drawing commands

image.save ("file.png");
-------------- cut --------------

Somewhere i have read that there is a limitation in size.

Is there a way to overcome this ?

Qt here is at version 5.6.2.
OS is Linux 64Bit (and Windows 32 Bit/mingw).

kind regards
  Petric

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to