fr.opensagres.xdocreport.document.images
Class SimpleImageInfo
java.lang.Object
fr.opensagres.xdocreport.document.images.SimpleImageInfo
public class SimpleImageInfo
- extends Object
Code from http://blog.jaimon.co.uk/simpleimageinfo/SimpleImageInfo.java.html
SimpleImageInfo
public SimpleImageInfo(File file)
throws IOException
- Throws:
IOException
SimpleImageInfo
public SimpleImageInfo(InputStream is)
throws IOException
- Throws:
IOException
SimpleImageInfo
public SimpleImageInfo(byte[] bytes)
throws IOException
- Throws:
IOException
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getMimeType
public ImageFormat getMimeType()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All rights reserved.