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

Image Size in PDF #2121

Open
DonCammne opened this issue Mar 4, 2024 · 0 comments
Open

Image Size in PDF #2121

DonCammne opened this issue Mar 4, 2024 · 0 comments

Comments

@DonCammne
Copy link

DonCammne commented Mar 4, 2024

Ehi, I'm trying to render an image in a PDF converted using nbconvert from jupyter notebook directly to pdf.

Not working:

<div>
<img src="IMAGE.png" width=100>
</div>
<img src="IMAGE.png" height=100 />

Working:

from IPython.display import display, Image
display(Image(filename="IMAGE.png", height=100, width=100))
![IMAGE](IMAGE.png)

The problem is that I found no way to scale the image in the dimension that I desire. I'm probably missing something, thus any direction or help is very appreciated.

Thanks!

@DonCammne DonCammne reopened this Mar 4, 2024
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