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

Exporting a selected PDF page results in a blank image #1330

Open
NXTler opened this issue Dec 19, 2024 · 6 comments
Open

Exporting a selected PDF page results in a blank image #1330

NXTler opened this issue Dec 19, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@NXTler
Copy link

NXTler commented Dec 19, 2024

Describe the bug
When you select an imported PDF page and try to export the selection, only a blank image is returned.

To Reproduce
Steps to reproduce the behaviour:

  1. Import some PDF files.
  2. Select one of the imported pages.
  3. Go to export selected, give it some name and export in any format.
  4. Look at export with any program.

Expected behaviour
I would expect the export to contain the PDF's content and any notes I have written onto it.

Desktop (please complete the following information):

  • OS: Linux-Surface Arch
  • App Version: rnote-git-0.11.0.r58.gd3758fb1-1
  • Installation Source: yay AUR rnote-git
  • Desktop Environment: LXQT
  • Display Server: X11
  • Input Source: Mouse, Stylus, Touchscreen
@NXTler NXTler changed the title Exporting a selected PDF page results in a black image. Exporting a selected PDF page results in a blank image Dec 19, 2024
@Doublonmousse Doublonmousse added the bug Something isn't working label Dec 23, 2024
@Doublonmousse
Copy link
Collaborator

Does it only happen when exporting a selection (and not when exporting the full file ?).

Does it happen with a pdf file in particular ?

@NXTler
Copy link
Author

NXTler commented Dec 23, 2024

It only happens when exporting a selection, or a certain page, not with a full export.
It didn't work with any PDF file I tried.

@Niggi1105
Copy link

can't reproduce it on Manjaro, tested it with the pdf being imported as both bitmap and vector, the export worked as expected. Could you maybe provide information on the other, import/export settings used?

@NXTler
Copy link
Author

NXTler commented Feb 12, 2025

Sure,
I import all pages without adjusting the document layout (horizontal A4) and a page with of 50%. Then I set one page per document page, vector as the import type and that the imported pages should have an edge.

For export, I select the PDF page and click export selection. There disable background and printing optimizations. All export formats give the same result, but I use .png most of the time. Bitmap scaling is set to 1,8 and there is no edge distance.

@Niggi1105
Copy link

managed to reproduce it now, but only for 2 page pdfs when exporting the first one. For larger pdfs it worked fine. In the process I stumbled on another bug, where when importing a large pdf a page turned completely black. I used the settings described above.

@NXTler
Copy link
Author

NXTler commented Feb 12, 2025

I should also add that I mostly tried to export single pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants