fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
403 stars 153 forks source link

report export to PNG or TIFF format #244

Open liufeijin opened 4 years ago

liufeijin commented 4 years ago

hi Fralx Could you add a export format like PG or TIFF? Many be TIFF is better as it only 1 file contains many pages.

fralx commented 4 years ago

Hi! I will think about it :)

liufeijin commented 4 years ago

Hi fralx Thanks ! i found some links about tiff lib for your reference. https://github.com/jkriege2/TinyTIFF https://github.com/hunter-packages/tiff/tree/hunter-4.0.2/libtiff https://github.com/kornholi/sptw https://github.com/libvips/libvips

liufeijin commented 4 years ago

Hi fralx SVG has supported is very good news. Wish the next function is export to PNG or TIFF when you have free time.

liufeijin commented 4 years ago

hi fralx Could you add the export to PNG first if the TIFF format too heavy job when you have tiem? It shall be 1 page for 1 PNG file. and file name better is 00001.png 00002.png .... then all will be listed in folder in order.

liufeijin commented 4 years ago

Hi fralx QT5.14 is support TIFF but why i can't find write multi-page method only find write single page method

char filename = "F:/0.tif"; /read + write*/ QImage image; QImageReader qReader(filename); image = qReader.read(); QImageWriter writer("F:/A.tiff", "tiff"); writer.write(image);

https://doc.qt.io/qt-5/qtimageformats-index.html TIM截图20200424094643 seem to be add the method as

https://stackoverflow.com/questions/13579938/qt-multipage-tiff

liufeijin commented 4 years ago

hi fralx Could you add the export to PNG first when you have time? It shall be 1 page for 1 PNG file. and file name better is 00001.png 00002.png .... then all will be listed in folder in order.

liufeijin commented 4 years ago

Hi fralx Do you add the function export to PNG( any Picture format) in plane? Wish you can add it.

fralx commented 4 years ago

So many plans and so little free time :( Yes, I am going to add export to image format but I don't know when :)

liufeijin commented 4 years ago

:)