Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. // $this->log('resizing to '.$new_h.' from w:'.$org_w.'/h:'.$org_h);
  2. //
  3. // $image = imagecreatefromstring(base64_decode(explode(',', $coverImage)[1]));
  4. ////
  5. // $image_p = imagecreatetruecolor(1920, 445);
  6. // imagecopyresampled($image_p, $image, 0, 0, 0, 0, $new_w, $new_h, $org_w, $org_h);
  7. // ob_start();
  8. //
  9. // $this->log(gettype($image_p));
  10. // imagepng($image_p);
  11. // $data = ob_get_contents();
  12. // ob_end_clean();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement