On Tue, 14 May 2019, Andrey wrote:
When I insert any graphical PDF files in the document, LyX preview (the program's editing window) shows them rasterized and in an extremely bad resolution. In the 'pdflatex' PDF output everything is ok, the quality is as in the original images.
Andrey, Yep, that's normal. The preview, at least with the default dvips, does not display some things the way that pdflatex does. As examples, if you use the draftwatermark package the preview has the watermark horizontal while the typeset output has it at a 45-degree angle (southwest to northeast) and rotated tables in the preview are not rotated and only the left portion is seen while the pdflatex output has it rotated and fully visible. If you are keeping/distributing the pdflatex output why worry about what you see in the preview? Instead of futzing to get the preview "just right" use it to look for overfull lines and other layout glitches and go with the final output. Regards, Rich