decodePsd method

PsdImage? decodePsd(
  1. Uint8List bytes
)

Decode a raw PSD image without rendering it to a flat image.

Implementation

PsdImage? decodePsd(Uint8List bytes) {
  final psd = PsdImage(bytes);
  return psd.decode() ? psd : null;
}