Skip to main content

All Questions

Tagged with
0 votes
0 answers
40 views

Calculate position (transform) on SVG object in code?

I have started a small project to make sheets of (complex) labels in code by effectively merging first a pre-generated QR code (svg format) onto a single label, then this label onto a master sheet. ...
MyICQ's user avatar
  • 1,144
3 votes
1 answer
98 views

Plotly scatter map - How do I prevent marker text from overlapping?

I trying to plot a USA map using Scattergeo. I have a lot of markers that are close to each other, and their marker text are overlap each other and looks very messy. Are there workarounds for this? I'...
bestfirstsearch's user avatar
-1 votes
1 answer
55 views

how to import svg to Button in QML of QT5.12.12

I have imported this svg on button. However, it doesn't display exactly. Only background color is imported. How to build same button including Gradient, radius, shadow, stroke and so on? Button { ...
YunPei Zhang's user avatar
0 votes
0 answers
40 views

paste pdf image with correct width and height and position to svg file in python using fitz

`i am trying to convert pdf file to svg with correct formating i am using the fitz pymupdf library the text is formatted correctly but i cant adjust the image "this is my first time working with ...
ahmad tayyab's user avatar
0 votes
0 answers
48 views

Convert svg to png in Python using Inkscape, but nothing works

I want to loop through a folder, take all SVGs and convert them to PNGs, then use OCR to read text from the images. I know the OCR part of my code works, because I did read text successfully from PNGs....
Azurespot's user avatar
  • 3,114
0 votes
0 answers
25 views

How can I overlay an SVG image over a raster image using Python (Python3)?

I have some generated raster images and SVG images (as an ElementTree), but for the sake of the example, let's say that they are saved as files. This is what I am trying to do: import cv2 as cv ...
Carlos Eugenio Thompson Pinzón's user avatar
1 vote
0 answers
44 views

Not able to add glyph to a font using python

I am trying to create a new font using some glyph of my own using python. I have have a function to parse the SVG file representing a glyph and converts it into a FontTools TTGlyph object.The function ...
10cal's user avatar
  • 21
0 votes
0 answers
27 views

PNG image is partially corrupt when loading into word document with wand.image.Image

I am trying to create a Python script that takes multiple one-page SVG files, converting them to a PNG file, and then combining them into one word document. But when inspecting the word document the ...
logan_9997's user avatar
0 votes
0 answers
54 views

Getting a bounding box for the collective elements in an SVG file

I would like to use Python to arrive at the bounding box for the figures in an SVG file. All the previous questions I have seen on this suggest using svgpathtools; unfortunately the svg2paths() ...
Tim Kolar's user avatar
1 vote
0 answers
25 views

PyQt5 SetWindowIcon from SVG from qrc resources rendered blurry/pixelized/wrong?

Consider this example: File logo.svg <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xml:space="preserve" id="svg201" x=&...
sdbbs's user avatar
  • 5,121
0 votes
0 answers
38 views

Issue with Django CMS Icon Module: Missing Static Path and Extra Class in Generated Markup

I am attempting to utilize the djangocms-icon module to incorporate my own SVG icons into my Django CMS project. Following the documentation, I have successfully added Material Design icons. However, ...
Miguel Ramos's user avatar
0 votes
0 answers
45 views

`undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE` when running Python program to save svg as hpgl file using Inkscape

I'm using Inkscape to save an SVG file as an HPGL file. I believe HPGL runs a Python script to do this. However, this Python script is failing with the following error. Traceback (most recent call ...
twitu's user avatar
  • 615
1 vote
0 answers
35 views

Fetching SVG from Flask

I am creating an Android app in which an SVG image is fetched from a Flask server. This is the Kotlin-Jetpack Compose code: @Composable fun SvgUrlFetch() { val imageUrl by remember { mutableStateOf(&...
Eduardo's user avatar
  • 71
1 vote
0 answers
64 views

SVG to Glyphs conversion

Can anyone suggest any python library to convert svg into glyphs. I have used fonttools and font forge. Is there any other suggestion.I have tried fonttools and fontforge,I am using windows and ...
10cal's user avatar
  • 21
0 votes
0 answers
48 views

Vectorizing BMP file into a single, open path as opposed to a closed path object

I'm doing a simple image processing project. It involves converting binary images into open paths (like those drawn with the pen tool on Adobe Illustrator). The issue I am running into is that the ...
jackcbowers's user avatar

15 30 50 per page
1
2 3 4 5
57