Re: [Veusz-discuss] TIF export with LZW/ZIP compression

2015-05-15 Par sujet Martinus WERTS

Thanks to all!

We had a similar question for the PNG format. I guess/hope the proposed 
change will also enable compression for PNG.


Best wishes,
Martin

On 15/05/2015 03:16, Benjamin K. Stuhl wrote:

On 5/14/2015 11:15 AM, Mike Statkus wrote:

Many thanks to Jeremy for the outstanding plotting tool!

Is it intended that TIFF export produces images without compression? 16*12
cm figure at 300 dpi (1800*1400 pixels) is saved by Veusz export as a 10
Mb TIFF, which is reduced to 300 Kb TIF after opening with Photoshop and
saving as TIF with LZW compression enabled. Unfortunately, I haven't found
an option in Veusz 1.23 to turn on LZW or ZIP compression in TIF files.

You're right, Veusz does not seem to turn on TIFF compression. The good
news is that it should be trivial to fix, the QImageWriter just needs
   writer.setCompression(1)
called on it. I'll try to put together a pull request next week if
Jeremy doesn't do a fix first.

We might also want to set
   writer.setOptimizedWrite(true)
   writer.setProgressiveScanWrite(true)
for new Qt versions that will support them; this improves the JPEG
output file sizes. (See https://bugreports.qt.io/browse/QTBUG-20075,
which was merged for 5.5.)

Regards,
--BKS


___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss



___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] Automatic export

2015-05-15 Par sujet Benjamin K. Stuhl
On May 15, 2015 1:34 PM, Henrik Rydberg henryd0...@gmail.com wrote:

 Works like a charm, exactly what I wanted. Not only an amazing pieece of
 software, but also real support. Thanks a lot!

 /Henrik

 (How do I stop the running script?)

Glad that it's working for you! You can stop it by running

timer.stop()

at the command line.

Regards,
--BKS
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss