* Map of optional parameters, defined in SanselanConstants.
* @return The width and height of the image.
*/
public static Dimension getImageSize(byte bytes[], Map params)
throws ImageReadException, IOException {
return getImageSize(new ByteSourceArray(bytes), params);
}