Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The printed image is blank #4765

Open
nine-city opened this issue Jan 13, 2025 · 1 comment
Open

The printed image is blank #4765

nine-city opened this issue Jan 13, 2025 · 1 comment

Comments

@nine-city
Copy link

SumatraPDF version

  • Version 3.5.2_x64
  • Windows 11(x64)

Describe the bug
I use SumatraPDF to print images, and yes, I sometimes print images in bulk. If the image itself is in JPG format but has a PNG file extension, the physical printer will print a blank page, while the virtual printer will produce a completely white image. In other words, if the file extension does not match the actual format of the image, printing with Sumatra will result in a blank page. This happens whether you use the Ctrl+P shortcut in the interface or print via the command line.

Expected behavior
The image is printed out normally.

@GitHubRulesOK
Copy link
Collaborator

SumatraPDF is not the best app for image printing as it very simply hands graphics over to Windows Printing.
Thus not surprised if the data format has the wrong handle it may not print.
image
However in testing current pre-release with virtual print to PDF from a PNG renamed to JPG it worked!
image

Even when correct I will tend to use a graphics app like Irfan view for my controlled printing which actually would warn you the images have the wrong extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants