• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.0
    • 1.0.0
    • None
    • None
    • 4.6 M6, 4.7.0 RC3

      Rendering thumbnails of pdf documents is blurry

          [SKINSEARCH-30] Kiosk - image of blurred pdf renderings

          The preview render size is 240x180 pixels, so PDF thumbnail are resolved by default with bounded image 240x180, which it is suitable for PDFs in portrait mode.

          Here the PDF are in landscape mode, so the default thumbnail size is not convenient.

          The width and height for resolving thumbnail can be overriden in pdfDocument-abstract.xsl

          <xsl:variable name="previewWidth">180</xsl:variable>
          <xsl:variable name="previewHeight">240</xsl:variable>
          

          Laurence Aumeunier added a comment - The preview render size is 240x180 pixels, so PDF thumbnail are resolved by default with bounded image 240x180, which it is suitable for PDFs in portrait mode. Here the PDF are in landscape mode, so the default thumbnail size is not convenient. The width and height for resolving thumbnail can be overriden in pdfDocument-abstract.xsl < xsl:variable name= "previewWidth" > 180 </ xsl:variable > < xsl:variable name= "previewHeight" > 240 </ xsl:variable >

            laurence Laurence Aumeunier
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: