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

RGBA PNG images are not rendered #16

Open
leroycep opened this issue Sep 8, 2019 · 0 comments
Open

RGBA PNG images are not rendered #16

leroycep opened this issue Sep 8, 2019 · 0 comments

Comments

@leroycep
Copy link
Owner

leroycep commented Sep 8, 2019

RGBA PNG images are not visible in the output PDF, though they do take up space. PDF renderers used include PDF.js, qpdfviewer, apvlv, and whatever the reMarkable tablet uses.

Using imagemagick to remove the alpha channel makes the images show up:

convert -alpha 1 flamer-1.png flamer-1-alpha-removed.png

Example:

test.md

# `flamer-1.png`:

![](flamer-1.png)

# `flamer-1-alpha-removed.png`:

![](flamer-1-alpha-removed.png)

flamer-1.png:
flamer-1

flamer-1-alpha-removed.png
flamer-1-alpha-removed

test.pdf

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

1 participant