检索有关图像的信息
美好的一天,
有人知道一个好的java库,用于在java中检索jpeg、gif和png图像文件的mime类型和尺寸吗?
我尝试了 javax.imageio.ImageIO 但似乎有一些图像文件无法处理(即使用 adobe photoshop 创建的图像)。
谢谢, 弗朗茨
Good day,
Anybody knows of a good java library for retrieving mime type and dimension of a jpeg, gif, and png image file in java?
I tried javax.imageio.ImageIO but it seems that there are some image files that it can't handle (i.e. images created with adobe photoshop).
Thanks,
Franz
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试使用 Apache Sanselan 来获取维度,并使用 Droid 用于识别。
You could try Apache Sanselan for the dimension and Droid for the identification.