-
Notifications
You must be signed in to change notification settings - Fork 29
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
*.jpg files not displayed within the PDF compiled with beamer latex #99
Comments
Hi, dspdfviewer does not require anything special to render images included in the PDF. I tried to create a minimal testcase which does render (see screenshot below, ~260kb) on my system. Please try rendering (and rebuilding) the testcase aswell and see if that works (it may be an issue with your presentation, not with dspdfviewer) Please make sure to call use pdflatex directly, calling latex -> dvi2pdf (or similar) will not work correctly with jpeg images. Please also try to rebuild the testcase to ensure your LaTeX installation is allright. If the problem is in dspdfviewer, please include the following information to help me reproduce the issue:
|
Hi, Thank you for your fast answer.
Best regards. Steph |
Okay, this sounds like a genuine bug in dspdfviewer. I will do my best to reproduce and then fix. @srocheepfl Do you remember which version you downloaded (v1.13.1 Qt5 / Duplication of audience screen / German translation pre-release) from the windows binaries? @projekter: Can you check whether this is a windows-specific (or even, windows-8.1-specific) bug? |
It seems to be Windows-specific. I have just tested the PDF. There is no JPG displayed; after that, I tried the old Qt4 version. In this, the JPG is shown. |
@projekter Thanks for checking this out so quickly! The qt4 version should allow @srocheepfl to get some work done while we solve the problem. Good thing github doesn't delete old binaries : ) I will also create a regression test for this, to automatically detect if it ever breaks again. |
These are the versions I have been tested with the same bug: v1.14-335-g9bd0175https://github.com/projekter/dspdfviewer/tree/v1.14-335-g9bd0175 It’s working fine with v1.13-38-g290aed9. |
@projekter: I have added a regression test to master, so this kind of thing can be caught in the future. Once you have some time, could you |
I managed to track down the problem to one of the jpeg dependencies. Compiling without turbojpeg and OpenJPEG (using the unmaintained internal DCT and JPX decoder of poppler) displays the images properly. I don't think OpenJPEG is the problem but turbojpeg. I think I can fix the problem today. |
Confirmed, problem is solved in #118. libjpeg/turbojpeg (I tried both and also older versions of libjpeg) triggered the problem. I found no proper solution (not even a reason), this will require some more work. But compiling poppler without libjpeg works, although not recommended. And the pictures are shown. |
Finally, after lots of investigations, I can at least provide a more detailed description when the problem happens and why:
|
Hi,
I have jpg files within my beamer presentation. After compiling, they are in the PDF files.
But when using Dual-Screen PDF viewer, they are not displayed both on the preview and the slides.
Does it need any setting to solve the problem?
Best.
The text was updated successfully, but these errors were encountered: