Resize Pages Preview Temporarily Ignores Opacity of Objects Contained in XForms

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange, Ivan - PDF-XChange

User avatar
rakunavi
User
Posts: 2282
Joined: Sat Sep 11, 2021 5:04 am

Resize Pages Preview Temporarily Ignores Opacity of Objects Contained in XForms

Post by rakunavi »

Hello all,

I noticed that when previewing the Resize Pages dialog with the Scale page content according new page size option enabled, the opacity of objects contained in an XForm is temporarily ignored during the preview.

For example, this can occur when annotations with opacity settings have been flattened, resulting in the flattened content being stored as an XForm with transparency applied.

The sample file contains two identical rectangle annotations with 20% opacity, arranged vertically. The upper rectangle remains an annotation, while the lower rectangle has been flattened.

  • sample.pdf
  1. Open the sample file.
    • Open the Resize Pages dialog.

      • figure1.png
    • Enable the "Scale page content according new page size" option.
      • Under Paper Size Type, select any option other than the default one (for example: By Page, Standard, Scale, Growth, or Custom). In the video, I specify “Scale” as the Type and 100.1% as the Percentage. The fill of the lower rectangle, which was originally displayed with 20% opacity, is temporarily rendered as if it had 100% opacity.

        • figure2.png
      • Click OK to perform the resize operation. The object's opacity is then displayed correctly again at its original 20% opacity.

        • figure3.png

      The attached test video demonstrates the issue.

      • Animation.gif

      Expected result: The preview should display the flattened object with the same opacity as the final rendered result.

      Actual result: The preview temporarily ignores the opacity setting of the XForm and displays the object as fully opaque. After the resize operation is applied, the opacity is rendered correctly again.

      Hoping that the above information will be of some help to you.
      Thank you for your hard work on this great software.

      Best regards,
      rakunavi

      - PDF-XChange Editor PRO Version: 11.1.2
      - OS Version: Windows 11 Pro / Home 26H2 Build 26300.9974
      - PC Model: GMKtec Nucbox M7 Pro with HUION Kamvas Pro 19 / Lenovo IdeaPad C340-15IWL
      You do not have the required permissions to view the files attached to this post.
      Top needs for PDFXCE
      forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
      forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
      forum.pdf-xchange.com/viewtopic.php?t=37353 FullScrnMultiMon
      forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect