Fix quotes conversion to html.
[banana.git] / examples / xface.php
index 5e69c89..613ff06 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 
-header('Content-Type: image/jpeg');
+header('Content-Type: image/gif');
 passthru('echo ' . escapeshellarg(base64_decode($_REQUEST['face']))
         . '| uncompface -X '
-        . '| convert xbm:- jpg:-');
+        . '| convert -transparent white xbm:- gif:-');
 
 // vim:set et sw=4 sts=4 ts=4
 ?>