Search found 4 matches

by JaredDavis
2015-07-05T17:47:13-07:00
Forum: Users
Topic: SVG to monochrome PNG - how to size PNG file?
Replies: 6
Views: 5083

Re: SVG to monochrome PNG - how to size PNG file?

THANKS!

I thought the SVG was based on 72 user units in an inch, not 90px per inch.

144/90 = 1.6inches * density = pixels in png
by JaredDavis
2015-07-04T07:38:26-07:00
Forum: Users
Topic: SVG to monochrome PNG - how to size PNG file?
Replies: 6
Views: 5083

Re: SVG to monochrome PNG - how to size PNG file?

More info:

output of

identify -verbose testsvg.svg

Shows a 90 dpi default density.


Image: testsvg.svg
Format: SVG (Scalable Vector Graphics)
Mime type: image/svg+xml
Class: DirectClass
Geometry: 180x180+0+0
Resolution: 90x90
Print size: 2x2
by JaredDavis
2015-07-04T07:19:24-07:00
Forum: Users
Topic: SVG to monochrome PNG - how to size PNG file?
Replies: 6
Views: 5083

Re: SVG to monochrome PNG - how to size PNG file?

Thanks for the reply. I still don't get it.

The sample posted did not have all of the issues. Sorry. The real svg has other colors used to create "grey" regions. The printer is a Zebra B&W bar code printer and it does no processing of the image. It is either black or white.

Since I posted, I ...
by JaredDavis
2015-07-03T12:20:21-07:00
Forum: Users
Topic: SVG to monochrome PNG - how to size PNG file?
Replies: 6
Views: 5083

SVG to monochrome PNG - how to size PNG file?

Hi,

I'm trying to convert a svg to a monochrome PNG to be printed on a 203 dpi printer.

Here is a sample SVG that is 2" x 2" with a centered 1" x 1" black rectangle.

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" width="144pt ...