P5-image-base-svg

Jul 20, 2023

SVG image file output

ImageBaseSVG extends ImageBase to create or update SVG format image files using the SVG.pm module see SVGManual.

ImageBase is pixel oriented so isn’t really the sort of thing SVG is meant for, but this module can direct some ImageBase style code at an SVG object. Of course the SVG module has many more features if used natively.

It’s often fairly easy to spit out SVG directly too, and for instance the ImageBaseSVGout module can do that. The advantages of the SVG document object model comes when combining images or fragments, or going through elements for post-facto mangling.

In the current code the SVG elements emitted assume some default style attributes such as stroke-width 1. Perhaps that should be set explicitly on each element.



Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader