The complete read-only property of the ImageDecoder interface returns true if encoded data has completed buffering.
complete
MDN Reference