SonarSonic / DrawingBotV3

DrawingBotV3 is a software for converting images into vector art
https://docs.drawingbotv3.com
GNU General Public License v3.0
331 stars 43 forks source link

Imported image is much less sharp than original #15

Closed bijlevel closed 2 years ago

bijlevel commented 2 years ago

I'm not sure if this is the right place for this subject, but anyway. I'm just learning to use this program and find it already fantastically! But I noticed (as already said in the subject) that the imported image is noticeable less sharp than the original. Is this intentional, so the program can process the image faster (or even better)?

SonarSonic commented 2 years ago

Great question! There is actually quite a few reasons behind this and it's actually made me look more into the rendering of images in the viewer, and realised I can improve the accuracy of the rendering you see.

Drawing Area: If you select "Use Original Sizing" you will be seeing the original image at it's original sharpness. However, if you select a paper size like A4 currently the way DBV3 works best is by scaling the image to the Pen Width as this results in lines which can feasibly be drawn by the specified pen size which results in a massive improvement in computation time but with a potential reduction in plot accuracy / the images resolution.

Rendering: On top of this for V1.0.16 and down, the image you see in the viewer is actually being softened as it normally doesn't match the size of the canvas, this scaling results in a blurring of the image. Though this is actually something I can control and may actually turn off, so basically the image it's plotting from is lower resolution but is still sharp.

So this is what you see currently in the viewer. image

And this is the actual image, but note this is for an A4 image plotted with a 0.5mm Pen, so the image resolutions is only 420 x 594 (you can see this info above the viewer in V1.016 and up). image

TL;DR; - The image may be down-sampled, but it's still plotting from an image sharper than what you see in the viewer, but this will be improved in future versions.

bijlevel commented 2 years ago

Thanks for the quick reply and indeed when keeping the original size, the image is the same as the original one!