docs: public static IndexColorModel readColorTable(final DataInput pStream, final int pPixelSize) throws IOException {
          // TODO: Do we need to support these?
          /*int seed = */pStream.readInt();
          /*int flags = */pStream.readUnsignedShort();
          int size = pStream.readUnsignedShort() + 1; // data is size - 1
  
          int[] colors = new int[size];
  
          for (int i = 0; i < size; i++) {
              // Read ColorSpec records
              /*int index = */pStream.readUnsignedShort();
              Color color = readRGBColor(pStream);
              colors[i] = color.getRGB();
          }
  
          return new IndexColorModel(pPixelSize, size, colors, 0, false, -1, DataBuffer.TYPE_BYTE);
      }