Php Image Save Using Curl Giving Garbage Values Stack

Php Image Save Using Curl Giving Garbage Values Stack