BufferedImage图片大小
时间: 2023-10-24 14:30:34 浏览: 149
要获取 BufferedImage 图片的大小,可以使用其getWidth()和getHeight()方法。getWidth()方法返回图片的宽度,getHeight()方法返回图片的高度。这两个方法可以帮助你获取 BufferedImage 图片的大小。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Java修改图片大小尺寸图片缩放](https://blog.csdn.net/qq_33697094/article/details/114327979)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [java中ImageReader和BufferedImage获取图片尺寸实例](https://download.csdn.net/download/weixin_38733382/12765584)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文