使用 Markdown 在 jupyter notebook 中调整图像大小 [英] Resize the image in jupyter notebook using markdown
本文介绍了使用 Markdown 在 jupyter notebook 中调整图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在 Jupyter 笔记本中添加图像,并且我想要具有特定的高度和宽度.当我尝试使用
I want to add the image in the Jupyter notebook and I want to have particular height and width. When I try to add the image using
![](img.png)
代码正在添加完整的图像,但根据图像尺寸,我无法控制它.我尝试使用 ![](img.png =200x100) 但图像没有出现.
the code is adding the complete image but as per the image dimension and I don't have control over it. I try to use ![](img.png =200x100) but then the image does not appear.
有人知道添加具有预先指定尺寸的图像的方法吗?
Does anybody know of a way to add an image with pre-specified dimensions?
推荐答案
可以直接使用html
<img src="image.JPG" alt="Drawing" style="width: 200px;"/>
这篇关于使用 Markdown 在 jupyter notebook 中调整图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文