Text crop
ad-Ham opened this issue · 4 comments
ad-Ham commented
verot commented
What is your code? Do you have a reproducible test case?
ad-Ham commented
What is your code? Do you have a reproducible test case?
I can't send you the whole project with framework, but here is some of it. Problem is only on Linux server. Windows pc is OK
$img = new \Verot\Upload\Upload($imgPath, 'ru_RU');
$img->image_text = '2022-08-30';
$img->image_text_x = 794;
$img->image_text_y = 723;
$img->image_text_color = '#132D66';
$img->image_text_size = 26;
$img->file_new_name_body = $fileName;
$img->image_text_padding = 5;
$img->image_text_font = 'E:/Inter/static/Inter-Regular.ttf';
$img->file_overwrite = true;
$img->process($imgProcessedPath);