php imagecreatefromstring issue - is it Flash or PHP

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

Post 3+ Months Ago

Hello,

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.
Attachments:
1258003653.jpg
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 85 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
 
cron
 

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