We are detecting the HEIC images and HEIC-sequences already. We just have to add a new image type e.g. HEIC_SEQUENCE and add an additional mapping. Instead of returning a fixed value ImageType::HEIC, we could detect here ImageType::HEIC_SEQUENCE too (depending on the CC codes).
We are detecting the HEIC images and HEIC-sequences already. We just have to add a new image type e.g.
HEIC_SEQUENCE
and add an additional mapping. Instead of returning a fixed valueImageType::HEIC
, we could detect hereImageType::HEIC_SEQUENCE
too (depending on the CC codes).https://github.com/selective-php/image-type/blob/master/src/Detector/HeicDetector.php#L34
After that we can differentiate between these two mime types:
Before
After