Re: libgsf tweaks



On Mon, 14 Oct 2019 at 19:20, Allin Cottrell <cottrell wfu edu> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]