ValidatedImageUpload
final class ValidatedImageUpload (View source)
| internal | UploadService consumes this value before choosing copy or re-encode publication. |
Couples the detected MIME family with the fully decoded pixels verified from the same staged snapshot.
Methods
Retains the results of MIME policy and complete image decoding for one immutable snapshot.
Returns normalized pixels produced by a complete supported-format decode.
Details
__construct
__construct(MimeType $mimeType, DecodedImage $decodedImage)
Retains the results of MIME policy and complete image decoding for one immutable snapshot.
mimeType
MimeType
mimeType()
Returns the server-detected MIME value authorized by the upload policy.
decodedImage
DecodedImage
decodedImage()
Returns normalized pixels produced by a complete supported-format decode.