Hi!

When uploading gif-files with transparent background, the rendered
background is black. Is it possible to change this? Either keeping it
transparent or setting to another color?

My code:

  $thumbnail = new sfThumbnail(190, 190);
  $thumbnail->loadFile($this->getRequest()->getFilePath('file'));
  $thumbnail->save(sfConfig::get('sf_upload_dir').'/logos/'.$fileName,
'image/png');

Any ideas? Am I missing something obvious?

regards,

Gunnar Lium

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to