Skip to main content

All Questions

Tagged with
1 vote
0 answers
123 views

Why is feDropShadow poorly supported in non-browsers and leads to things disappear?

The following happens to me on a regular basis when trying to write SVGs manually. I perform a web search for "svg drop shadow", and amongst the first hits is the MDN example on ...
bluenote10's user avatar
  • 25.6k
0 votes
0 answers
51 views

ImageMagick SVG convert to PNG fails to delegate in debug mode only

I have the latest ImageMagick and InkScape installed on Windows 10. Converting SVG source images sourced from FontAwesome Free works fine in Visual Studio 2022 Release mode. In Debug mode writing to a ...
Hans Malherbe's user avatar
0 votes
1 answer
387 views

Converting a SVG file to a PDF or JPG with the embedded base64 CSS fonts

I have a bunch of .svgz files I need to convert to PDF, or, if that's not possible, to JPG and then to PDF. All these files use custom fonts that are embedded in the file, using @font-face base64, ...
SaltyIsaac's user avatar
1 vote
1 answer
77 views

SVG to PNG - lines invisible

Problem: some svg drawings open well in chrome and edge but not in inkscape or do not convert well with imagemagick. In my case only the text-labels were shown, no lines or drawings at all. I could ...
Pascal Declercq's user avatar
0 votes
0 answers
250 views

Why is Wand not rendering SVG to PNGs correctly on mac - ignoring Inkscape?

I have a Python Flask application on RHEL 7 that I'm using to convert SVGs to PNGs through Wand. I was running into problems with font handling, but with Inkscape installed that fixed the issue. The ...
pcclarke's user avatar
0 votes
1 answer
47 views

Imagemagik Issue creating a bitmap image with a layered SVG

We have an issue with creating an image with an SVG that we can’t seem to solve. We would greatly appreciate any help to get this sorted or learn if this is a bug in Imagemagik which has no solution. ...
Johan Steneros's user avatar
2 votes
2 answers
5k views

how to export svg to png on the command line without antialiasing

I need to do some batch processing of svg files. SVG elements are all either black or white and I need bitmap images that are monochrome (black/white, no grayscale). From within the inkscape gui I ...
Vince W.'s user avatar
  • 3,703
0 votes
0 answers
4k views

How to convert SVG to BMP?

This question may have been answered in multiple websites. However, I am having issues getting it to work correctly. My goal is to convert an SVG file to BMP using command line. Below is the content ...
Zythyr's user avatar
  • 1,172
0 votes
0 answers
1k views

pdf to png conversion of latex generated plot

I have a bunch of pdf (plots generated using pgf in pdflatex) files that I would like to convert to png files. So far I've tried the following: 1) ImageMagick convert -density 500 a.pdf -quality 90 ...
Sebu's user avatar
  • 11
3 votes
2 answers
3k views

Convert SVG to PNG with sharp edges

I need to convert images for object detection. I start with svg images with multiple polygons. Example: <svg ...> <rect width = "100%" height = "100%" fill = "rgb(0,0,0)" /> <polygon ...
Jason's user avatar
  • 73
2 votes
3 answers
1k views

Is it possible to detect unique colours inside an SVG?

I want to access all the colours that an SVG may be using. I've played with convert, but would like some direction on how to figure out the unique colours that an SVG may contain. This is the PHP ...
onassar's user avatar
  • 3,489
1 vote
0 answers
502 views

ImageMagick viewbox when converting SVG

I'm trying to convert an SVG file to a PNG using convert, where the input image has SVG artifacts outside the document border - this is a byproduct of sloppy artistry, and is convenient when drawing a ...
Athan Clark's user avatar
  • 3,904
0 votes
0 answers
659 views

Convert Transparent PDF(spot color) to Transparent png(remove white background)

I am using imageMagick to convert PDF image to png file with transparent background.Here is some code i tried to convert.Can anyone help me? In imageMagick: $image = new Imagick(); $image->...
Jitendra Mohanta's user avatar
5 votes
2 answers
5k views

How to make the viewport of an SVG image square, without resizing its contents?

I have an SVG image (lets say a simple icon) which has following content: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M436 160c6.627 0 12-5.373 12-12v-40c0-6.627-5....
sorush-r's user avatar
  • 10.7k
0 votes
1 answer
249 views

Inkscape 0.92.2 compilation: links with two libMagick versions

I've compiled Inkscape 0.92.2 (on Slackware64-current Linux), and I can't export to PNG. I found some references that libpng could be the culprit. Indeed, I found that the inkscape executable was ...
jcoppens's user avatar
  • 5,416

15 30 50 per page