Topic: 请教:如何获得本机中的图片的大小(长和宽)?

  Print this page

1.请教:如何获得本机中的图片的大小(长和宽)? Copy to clipboard
Posted by: focus
Posted on: 2005-09-13 14:38

请教:如何获得 本机中的 图片的大小(长和宽)?

2.Re:请教:如何获得本机中的图片的大小(长和宽)? [Re: focus] Copy to clipboard
Posted by: why
Posted on: 2005-09-14 00:01

If you're using java.awt.Image (there're other third-party libraries)
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Image.html
http://javaalmanac.com/egs/java.awt/LoadImage.html

3.Re:请教:如何获得本机中的图片的大小(长和宽)? [Re: focus] Copy to clipboard
Posted by: q_yuan
Posted on: 2005-09-14 13:45

使用 ImageIcon可以看到!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923