mightyscape-1.2/extensions/fablabchemnitz/svg_embed_and_crop/svg_embed_and_crop
Mario Voigt 4fad216b45 some renamings in meta data 2023-02-15 00:52:14 +01:00
..
LICENSE Adding back more extensions 2022-10-13 00:05:56 +02:00
LICENSE-apache.txt Adding back more extensions 2022-10-13 00:05:56 +02:00
NOTICE-apache.txt Adding back more extensions 2022-10-13 00:05:56 +02:00
README.md Adding back more extensions 2022-10-13 00:05:56 +02:00
commons-codec-1.7.jar Adding back more extensions 2022-10-13 00:05:56 +02:00
ij-1.47i.jar Adding back more extensions 2022-10-13 00:05:56 +02:00
svg-embed-and-crop-1.7.jar Update in svg_embed_and_crop 2023-02-14 21:48:18 +01:00

README.md

Inkscape is a powerful open-source vector graphics editor which supports the inclusion of raster images either through file references (links) or through direct embedding of the image data in the Inkscape SVG file. Referencing images as links keeps SVG files small and ensures that changes to image placement and transformations specified in the SVG file remain separate from the underlying image data. However, embedding images may be required as a final step in some production work-flows.

This java-based extension for Inkscape facilitates image embedding by:

  • Automatically identifying all linked images.
  • Cropping image data that lies outside the images' clipping frame.
  • Optionally applying jpeg compression.
  • Optionally resampling images above a maximum resolution
  • Writing the cropped and possibly compressed image data directly in the SVG file.

By cropping image data that lies outside the clipping frame, applying jpeg compression, or resampling images above a maximum resolution, the resulting file size can be reduced significantly. Alternatively, if preserving image quality is a priority jpeg compression and resampling can be explicitly avoided.

The plugin uses ImageJ to load and manipulate the image data and the Apache Commons Codec library to encode the data for embedding.

Installation instructions and documentation