Loads an array of <code>ImageData</code> objects from the
specified input stream. Throws an error if either an error
occurs while loading the images, or if the images are not
of a supported type. Returns the loaded image data array.
@param stream the input stream to load the images from
@return an array of <code>ImageData</code> objects loaded from the specified input stream
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if the stream is null</li>
</ul>
@exception SWTException <ul>
<li>ERROR_IO - if an IO error occurs while reading from the stream</li>
<li>ERROR_INVALID_IMAGE - if the image stream contains invalid data</li>
<li>ERROR_UNSUPPORTED_FORMAT - if the image stream contains an unrecognized format</li>
</ul>
Loads an array of <code>ImageData</code> objects from the specified input stream. Throws an error if either an error occurs while loading the images, or if the images are not of a supported type. Returns the loaded image data array.
@param stream the input stream to load the images from @return an array of <code>ImageData</code> objects loaded from the specified input stream
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the stream is null</li> </ul> @exception SWTException <ul> <li>ERROR_IO - if an IO error occurs while reading from the stream</li> <li>ERROR_INVALID_IMAGE - if the image stream contains invalid data</li> <li>ERROR_UNSUPPORTED_FORMAT - if the image stream contains an unrecognized format</li> </ul>