You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimized Image Decoding - Previously file paths were read via file_get_contents() and are passed to the BinaryImageDecoder::class instead of handling the paths directly, which is more efficient
AbstractDecoder::extractExifData() now uses either file paths or binary data as direct input for exif_read_data(), instead of always creating a file pointer and reading from it as before.
Activity
olivervogel commentedon Jan 28, 2024
✅ Optimized in 3.3.2
Optimized Image Decoding - Previously file paths were read via
file_get_contents()and are passed to theBinaryImageDecoder::classinstead of handling the paths directly, which is more efficientOld implementations
image/src/Drivers/Gd/Decoders/FilePathImageDecoder.php
Lines 31 to 32 in 4462e64
image/src/Drivers/Imagick/Decoders/FilePathImageDecoder.php
Lines 31 to 32 in 4462e64
This is now handled without reading to whole image via
file_get_contents()See d27fdd7, 03a5928
olivervogel commentedon Jan 28, 2024
✅ Optimized in 3.3.2
AbstractDecoder::extractExifData()now uses either file paths or binary data as direct input forexif_read_data(), instead of always creating a file pointer and reading from it as before.Old Implementation
image/src/Drivers/AbstractDecoder.php
Lines 76 to 91 in fd09f59