当前位置: 技术问答>java相关
如何读取jpg,gif,bmp等图片属性,例尺寸,色彩数。给分。给分。
来源: 互联网 发布时间:2015-01-22
本文导语: java jdk中有现成的类吗? 或有其他的源码可用? 解决问题就给分! | java.awt.Image abstract void flush() Flushes all resources being used by this Image object. abstract Graphics getGraph...
java jdk中有现成的类吗?
或有其他的源码可用?
解决问题就给分!
或有其他的源码可用?
解决问题就给分!
|
java.awt.Image
abstract void flush()
Flushes all resources being used by this Image object.
abstract Graphics getGraphics()
Creates a graphics context for drawing to an off-screen image.
abstract int getHeight(ImageObserver observer)
Determines the height of the image.
abstract Object getProperty(String name, ImageObserver observer)
Gets a property of this image by name.
Image getScaledInstance(int width, int height, int hints)
Creates a scaled version of this image.
abstract ImageProducer getSource()
Gets the object that produces the pixels for the image.
abstract int getWidth(ImageObserver observer)
abstract void flush()
Flushes all resources being used by this Image object.
abstract Graphics getGraphics()
Creates a graphics context for drawing to an off-screen image.
abstract int getHeight(ImageObserver observer)
Determines the height of the image.
abstract Object getProperty(String name, ImageObserver observer)
Gets a property of this image by name.
Image getScaledInstance(int width, int height, int hints)
Creates a scaled version of this image.
abstract ImageProducer getSource()
Gets the object that produces the pixels for the image.
abstract int getWidth(ImageObserver observer)