vendor/pimcore/pimcore/models/Document/Editable/Image.php
line 502
Open in your IDE?