On 12/11/2018 13:52, Baris Erkus wrote:
On 12-Nov-18 3:38 PM, Kornel Benko wrote:
Am Montag, 12. November 2018 13:21:58 CET schrieb Daniel <[email protected]>:
On 11/11/2018 19:14, Paul A. Rubin wrote:
On 11/10/18 9:45 PM, Baris Erkus wrote:
Hello,

PDF graphics appears to be blurred in LyX when scaled from Graphics
Options --> LaTeX and LyX options --> Show in LyX --> Scale on Screen.

I am not sure if this is a feature to reduce CPU rendering workload or
smtg, but it would be really nice to have a clear view of the PDF
while working on the document rather than looking at it using a PDF
viewer.

See MWE and the view from LyX below.

Baris


The image in your PDF file is a bitmap (PNG), so I don't hold out much
hope for being able to zoom it without loss of fidelity.
Why do you think the graphic in the PDF is a bitmap? I have zoomed in on
it and never got any pixels to see. At least it must be an extremely
high resolution bitmap then.

Daniel

Because PNG format is bitmap?
        PNG image data, 652 x 668, 8-bit/color RGB, non-interlaced

        Kornel

The external graphics is in PDF, which is attached to the original
e-mail; it was generated in Tikz, so it is a vector graphics. No
question about it.  When inserted into LyX, maybe LyX creates a
temporary bitmap or PNG file to show to the user, I am not sure.

It should not be a big thing to show a higher resolution graphics or to
let the user decide for possible performance issues. One day I will be
doing all these small modification by myself, but when that I do not
know... :-)

I think the converters for graphics should be in

Preferences > File Handling > Converters

And the converters for the particular task of PDF to bitmap conversion seem to be

PDF (graphics) -> EPS

and

EPS -> PNG

However, I tried to make some changes but LyX did not respond to any of them except for a complete removal of the converter. I believe you need to at least restart LyX to see the changes but nothing worked for me even if I filled in complete gibberish. (Also, be aware, it seems removing a converter cannot be undone easily. You can reconfigure which might overwrite some other changes you made in Preferences. And even if you do so, LyX does not save the converters, so you have to go to the converters make a change to one of them, like adding a letter, click on modify, removing the letter, click again on modify and then Save ... quite a pain.)

Daniel


Reply via email to