[Top][All Lists]

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

[Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print
Date: Sun, 29 Jan 2023 07:11:38 -0500 (EST)

Follow-up Comment #28, bug #63646 (project octave):

The attached patch adds the options "-polymerge", "-nopolymerge", and
"-polymerge-all" to the print function. These options select whether only
subsequent, no, or all polygons that are sharing an edge should be merged into
a single polygon when using the SVG toolchain.
By default, only subsequent triangles are merged into a polygon unless the
printed figure contains any graphics objects that are of type "patch" or
"surface" in which case all polygons sharing an edge are merged (or at least
attempted to be merged).

With it, the "spy" example is still about 3 times slower with the (default)
svgconvert pipeline than with the eps toolchain for me. But it is about 90
times faster for me with the (new default) "-polymerge" than with the (old
default) "-polymerge-all".
I see hardly a performance difference between "-polymerge" and "-nopolymerge"
for that example. But the difference in file size is noticeable (about a
factor of 3).

Are the names for those new options ok?

(file #54283)


Additional Item Attachment:

File name: bug63646-print-svgconvert-polymerge.patch Size:11 KB


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]