(Image parImage, int parWidth, int parHeight)
| 98 | * |
| 99 | */ |
| 100 | private void save (Image parImage, int parWidth, int parHeight) throws Exception { |
| 101 | convertImage (parImage, parWidth, parHeight); |
| 102 | writeBitmapFileHeader (); |
| 103 | writeBitmapInfoHeader (); |
| 104 | if(biBitCount == 8) |
| 105 | writeBitmapPalette (); |
| 106 | writeBitmap (); |
| 107 | } |
| 108 | |
| 109 | private void writeBitmapPalette() throws Exception { |
| 110 | LookUpTable lut = imp.createLut(); |
no test coverage detected