Why would an SVG control print fuzzy?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cmhjon
Posts: 175
Joined: Tue Aug 04, 2015 11:55 am

Why would an SVG control print fuzzy?

Post by cmhjon » Mon Mar 13, 2023 3:43 pm

Howdy all,

Just as the question asks. I have created an SVG using Adobe Illustrator. Copied the path data into an LC SVG control. It looks great on screen but when printed, it looks low-res/fuzzy. Is this expected behavior? If not, what am I doing wrong?

Best regards,
Jon :-)

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4016
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Why would an SVG control print fuzzy?

Post by bn » Mon Mar 13, 2023 9:56 pm

Hi Jon,
Copied the path data into an LC SVG control. It looks great on screen but when printed, it looks low-res/fuzzy. Is this expected behavior?
I would expect the print quality to be as good as what you see in the widget but alas it is not so.

A workaround would be similar to rotated text discussed earlier

https://forums.livecode.com/viewtopic.p ... 452f6f3614

I whipped up a little stack that takes a snapshot of the SVG widget at a higher resolution and scale the image to the dimensions of the widget.

You could set the location of the image to the location of the widget and hide the widget when printing.

In my experience the image is a lot less fuzzy than the widget when looked at in a print preview.

Kind regards
Bernd
Attachments
widgetToSharpImageForPrinting.livecode.zip
(14.17 KiB) Downloaded 49 times

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”