php imagecreatefromstring issue - is it Flash or PHP

  • httpftp21
  • Graduate
  • Graduate
  • httpftp21
  • Posts: 101

Post 3+ Months Ago


I am getting binary image data from flash in base 64 encoded format.
Then i am doing base 64 decoding and creating image thru imagecreatefromstring as given below:

Code: [ Select ]
$data_img = base64_decode($data);        
$im = imagecreatefromstring($data_img);
  1. $data_img = base64_decode($data);        
  2. $im = imagecreatefromstring($data_img);

But i am getting black background color in the image.

Can anyone tell me where is the problem ??
In attached file u can find black background color.
In flash or php ??

THX all in advance.

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 29 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.