This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
... | |
private const TEMP_HEIC_STORAGE_DIR = 'app/heic_images/'; | |
protected function convertHeic(UploadedFile $file): \Intervention\Image\Image | |
{ | |
$extension = $file->getClientOriginalExtension(); | |
// Generating a random filename, and not using the image's |