(InputStream is)
| 305 | |
| 306 | |
| 307 | public void read(InputStream is) throws IOException, Exception { |
| 308 | this.is = is; |
| 309 | getFileHeader(); |
| 310 | getBitmapHeader(); |
| 311 | if (compression!=0) |
| 312 | throw new Exception("Compression not supported"); |
| 313 | getPalette(); |
| 314 | getPixelData(); |
| 315 | } |
| 316 | |
| 317 | |
| 318 | public MemoryImageSource makeImageSource() { |
no test coverage detected