On Tue, 15 Oct 2019, John Cupitt via gnumeric-list wrote:

On Mon, 14 Oct 2019 at 19:20, Allin Cottrell <[email protected]> wrote:
1) gsf-output-memory: it would be nice to be able to "steal" a
buffer created in this way.

I'd like this too.

2) gsf-output-gzip: in some contexts it would be useful to be able to
control the zlib compression level in the interest of maximum speed or
maximal compression.

I do this now with eg.:

                       obj = gsf_outfile_new_child_full(out, name, FALSE,
                               "compression-level", GSF_ZIP_DEFLATED,
                               "deflate-level", dir->deflate_level,
                               NULL);

Perhaps the name isn't the clearest :(

Hmm, is that "child" approach applicable if you just want a wrapper for a gzipped file, as in tests/test-out-gzip1.c ? (As opposed to creating a zip archive.)

Allin Cottrell
_______________________________________________
gnumeric-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnumeric-list

Reply via email to