JezK
Edit File: raster_output_jpg.inx
<?xml version="1.0" encoding="UTF-8"?> <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> <name>Export to JPEG</name> <id>org.inkscape.raster.jpg_output</id> <param name="tab" type="notebook"> <page name="about" gui-text="Low Quality Warning"> <label>The JPEG file format is good for photos, but it creates artifacts and distortions in logos and other flat vector images. Your artwork will lose visual quality and any transparency.</label> <image>raster_output_jpg.svg</image> <label>This is a high compression example for demonstration.</label> <spacer/> <label appearance="header">You put a lot of talent, time and energy into your work.</label> <label>Your work deserves better, so you should consider exporting to PNG or WebP file formats with lossless compression instead.</label> <spacer/> <label>Learn more details about JPEG:</label> <label appearance="url" indent="1">https://inkscape.org/learn/jpg/</label> </page> <page name="options" gui-text="Options"> <param name="quality" type="int" min="0" max="100" gui-text="Quality:" gui-description="Quality between 0 and 100" >90</param> <param name="progressive" type="bool" gui-text="Progressive" gui-description="Store image as a progressive JPEG file." >true</param> </page> </param> <output raster="true"> <extension>.jpg</extension> <mimetype>image/jpeg</mimetype> <filetypename>JPEG (*.jpg)</filetypename> <filetypetooltip>Render to JPEG file format</filetypetooltip> </output> <script> <command location="inx" interpreter="python">raster_output_jpg.py</command> </script> </inkscape-extension>