Re: libgsf tweaks

John Cupitt via gnumeric-list <[email protected]> Tue, 15 Oct 2019 03:37:26 +0100
Newsgroups gmane.comp.gnome.apps.gnumeric
Message-ID <CAGNS0RuHpH7RU4-z8gzbjswBY2H4u4eWOpGztjpN_zyWEOJRxw@mail.gmail.com>
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 :(

John