Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Image antialiasing in desktop application possible?

0 votes

Such as great product! I don't know why I didn't heard about this sooner!

One issue that's making it hard for us to use it more widely:

I noticed that images added (via past from system clipboard) are kept in their full resolution. However, they are rendered very poorly due to having no antialiasing. Exported files (except for PDF) also maintains this aliasing issue.

We are planning on building a complex diagram of our software and underlying data flow. We'd like to show the GUI along with the data flow to make it easier for developers and expert users to understand what's happening 'under the hood'. 

 

 

 

asked Dec 2 in Help by ykil (120 points)
edited 3 days ago by ykil

1 Answer

0 votes
From your screenshot it seems to me that you are not displaying the pasted images at their original size. So the problem is actually that you are displaying scaled raster images, not missing anti-aliasing.
yEd is not an image manipuilation application and does not offer sophisticated scaling algorithms for raster images. If you want to display scaled images in yEd, you need to scale these images in a dedicated image manipulation application (such as MS Paint, Adobe Photoshop, the GIMP, etc.), import the pre-scaled images into yEd, and display the imported images at their original size.
answered Dec 3 by thomas.behr [yWorks] (127,200 points)
Thank you for the response. I added another image that shows that the image looks accurate when zoomed in.

The issue with pre-scaling is that it only looks correct at one zoom level (any zoom out will have the same issue). It will also be not high-resolution, which won't look good for printing.

Edit: I actually meant image scaling, not anti-aliasing.
https://en.wikipedia.org/wiki/Image_scaling

I'll just assume there's no 'live' rendering that handles this (during zoom/panning).

It's still a wonderful application and I intend to use use it.

Re:

I actually meant image scaling, not anti-aliasing.

smiley

 

Re:

The issue with pre-scaling is that it only looks correct at one zoom level (any zoom out will have the same issue). It will also be not high-resolution, which won't look good for printing.

You are right. However, this is not a yEd shortcoming but a consequence of how raster images work. It is possible to mitigate the effect to some degree using sophisticated scaling algorithms, but a.) this is the domain of image manipulation applications and b.) even sophisticated scaling algorithms will not produce "perfect" results. If you want graphics that look nice for any zoom level, you will have to use vector graphics such as SVG instead of raster images.

Legal Disclosure | Privacy Policy