Answer the question
In order to leave comments, you need to log in
Bitrix corrupts images when using CFile::ResizeImageGet?
Hi all. Not in the first project, Bitrix corrupts png images by adding various artifacts to them. This happens when using the CFile::ResizeImageGet function. How can this problem be corrected? Function example:
<?foreach($arResult['ITEMS'] as $arItem){
$photo = CFile::ResizeImageGet($arItem['PREVIEW_PICTURE'], array('width'=>85, 'height'=>82), BX_RESIZE_IMAGE_PROPORTIONAL, true);?>
<?}?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question