Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with svg format
#1
Hi,

I am using python-barcode to create barcodes.
It produces .svg images and it works great, very crisp images.
I insert these barcodes manually into a word document = time consuming.

So I set out to produce the complete document using python.
But I tried creating a pdf, and then creating a word document, but both
refuse the svg format. (although word will accept a manual "insert picture" that is svg)

You can trick the issue by converting the svg into a png programatically,
but the penalty is unacceptable loss of quality.

So my question, how can I create a "printable document" using python, that will accept svg files,
and some very limited text ? (no code required, just how to)

thx,Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
Trouble with svg format - by DPaul - Nov-12-2021, 10:02 AM
RE: Trouble with svg format - by Larz60+ - Nov-12-2021, 10:26 AM
RE: Trouble with svg format - by DPaul - Nov-12-2021, 10:37 AM
RE: Trouble with svg format - by DPaul - Nov-12-2021, 11:01 AM
RE: Trouble with svg format - by Larz60+ - Nov-12-2021, 03:45 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020