docs: @Override
      protected void readData(final ImageInputStream pInput) throws IOException {
          format = pInput.readInt();
  
          width = pInput.readInt();
          height = pInput.readInt();
  
          // This data isn't really useful, unless we're dealing with raw bytes
          widthBytes = pInput.readInt();
          int totalSize = pInput.readInt(); // Hmm.. Is this really useful at all?
  
          // Consistency check
          int sizeCompressed = pInput.readInt();
          if (sizeCompressed != (size - 28)) {
              throw new IIOException("Corrupt thumbnail in PSD document");
          }
  
          // According to the spec, only 24 bits and 1 plane is supported
          int bits = pInput.readUnsignedShort();
          int planes = pInput.readUnsignedShort();
          if (bits != 24 && planes != 1) {
              // TODO: Warning/Exception
          }
  
          data = new byte[sizeCompressed];
          pInput.readFully(data);
      }