crop - Resize Image in PHP Using Croppie -


i trying resize image taken cropping tool used on form. code below being used library croppie.

if($_post['imagebase64'] != '') {     $data = $_post['imagebase64'];      list($type, $data) = explode(';', $data);     list(, $data)      = explode(',', $data);     $data = base64_decode($data);      file_put_contents(apppath.'../assets/image64.png', $data); } 

i know how resize image before pushing server. preferably, use stock php, imagecopyresampled i'm not sure how go it.

any appreciated.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -