Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #11276 Reply

    Arunavh Krishnan


    I’ve purchased a PlugPDF license.
    I’ve made a custom viewer. I use PDFDocument draw method to get the page bitmap and display it in an image view.
    I want to use setPreviewQualityCoef to adjust the pdf accordingly. If I just set this property at the time of initialization, it doesn’t work. I get the same looking pdf for 1.0 and 0.1.
    How should I use this property ?


    #11277 Reply

    Arunavh Krishnan

    If I set the double value 0.1 or 1.0, it takes equal amount of ram.
    I tried using setNightMode from the same class at the same place during initialization and it works. But setPreviewQualityCoef doesn’t seem to show any effect.

    #11296 Reply

    Dr. Plug

    Hello Arunavh,

    Thank you for using our plugpdf.
    Actually setPreviewQualityCoef is used in PageView.
    but you said you made your own PDF viewer using PDFDocument. Right?
    Then setPreviewQualityCoef doesn’t work.
    the principle to down a quality of preview is making a samll size of PDF at first and enlarge a size.
    Then quality of preview will down.

    Best Regard,

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: setPreviewQualityCoef
Your information: