trifek's avatar

Crop out image margin in base64

I am beginner php programmer. I have upload image system in my project. It's written in Laravel 8.

i have this code:

    $imageInBase64 = 'data:image/png;base64,iVBORw0KYq6hP//5zzmAc/DBB5f2XYxR/hpl06IVmU3FuqJaTZHJUSyf0GuUsosATVS3KW8xRsyTFOXlIuOnKJ0XfWr.......=';

I need cut 100px from left site my image.

Full code base64 with my image is here: https://paste-bin.xyz/25692

How can I make it?

0 likes
0 replies

Please or to participate in this conversation.