When pasting image content, the behavior differs depending on the size.

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

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

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

When pasting image content, the behavior differs depending on the size.

Post by rakunavi »

Hello all,

When pasting image content via clipboard, I have noticed that the behavior differs depending on the size of the image.

In the first half of the verification procedure, two image files used for pasting are created at 300 dpi and 400 dpi as preparation. In the second half, after adding the image as content, we attempt to cut and paste it onto another page.

For the first half, we export to images in PNG format, black and white, no dither, 300dpi or 400dpi. Details are omitted, but a capture video is attached along with the generated files.

  • CapturedVideo_Prepare.zip
  • SampleFiles.zip

A capture video is also attached for the second half of the verification.
The corresponding time code is also listed at the beginning of each verification procedure.
([MM:SS] "MM" stands for minutes and "SS" for seconds).

  • CapturedVideo_CutAndPaste.zip
In the second half of the verification, we first paste a 300 dpi content image.

  • [00:02]-[00:11] Create a new document with size:A2, orientation:landscape, count:2.
  • [00:14]-[00:21] Add a 300 dpi PNG file as image content.
  • [00:22]-[00:28] Cutting to clipboard with Edit mode enabled, the image disappears.
  • [00:29]-[00:38] Go to the second page and paste from the clipboard. Confirm that "Paste as Image" and "Paste as Contents" are displayed in the clipboard's paste options. Confirm that the size of the pasted image is the same as the original size.
  • ClipboardStatusAt300dpi.png

Next, paste a 400 dpi content image.

  • [00:44]-[00:47] Create a new document with size:A2, orientation:landscape, count:2.
  • [00:50]-[00:59] Add a 400 dpi PNG file as image content.
  • [01:02]-[01:16] Edit mode is enabled and the image is cut to the clipboard, but after waiting for a while, the image does not disappear.
  • [01:17]-[01:31] Go to the second page and paste from the clipboard. Confirm that only "Paste as Image" appears in the clipboard paste options. Confirm that the size of the pasted image is different from the original size, especially that the aspect ratio has changed.
  • ClipboardStatusAt600dpi.png

The areas where the behavior differs between 300 dpi and 400 dpi are shown in bold. Compare the bolded areas with the same color. At 300 dpi it works perfectly as intended, but at 400 dpi it does not.

Note that the page size and orientation of the new document were chosen to make it easier to see the difference when pasting, and have nothing to do with the conditions under which the issue occurs. In addition, the following two settings in the Clipboard in the System category of the Settings app in Windows 10 are both off.

  • Clipboard history
  • Sync across devices
Hoping that the above information will be of some help to you.
Thank you so much for your continued support.

Best regards,
rakunavi

- PDF-XChange Editor Plus Version:9.3 build 361.0
- OS Version: Windows 10 Home/Pro 21H2 Build 19044.1826
- PC Model: Lenovo IdeaPad C340-15IWL / HP ProDesk 600G1
You do not have the required permissions to view the files attached to this post.
TOP desires 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 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8613
Joined: Wed Jan 03, 2018 6:52 pm

Re: When pasting image content, the behavior differs depending on the size.

Post by TrackerSupp-Daniel »

Hello, rakunavi

Thank you for the detailed report, In testing it seems that the issue with pasting is irrespective of the image DPI, it simply happens when using the "past as image" function (which converts the item to a stamp object) instead of paste as page content, which retains the base content nature of the object.

In any case, the issue has been reproduced and a formal bug report ticket made to ensure it is dealt with.
#6171: Cut/paste image in Editor, errors with paste as image

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
rakunavi
User
Posts: 908
Joined: Sat Sep 11, 2021 5:04 am

Re: When pasting image content, the behavior differs depending on the size.

Post by rakunavi »

Hi Daniel,

Thank you for taking the time to look into this in detail.
I am relieved to share my situation with you.
I'm looking forward to future updates.

Best regards,
rakunavi
TOP desires 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 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8613
Joined: Wed Jan 03, 2018 6:52 pm

When pasting image content, the behavior differs depending on the size.

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com