various updates
[banana.git] / xface.php
index 802254e..16d0332 100644 (file)
--- a/xface.php
+++ b/xface.php
@@ -1,5 +1,6 @@
 <?php
 
-passthru('echo '.escapeshellarg(base64_decode($_REQUEST['face'])).'|uncompface -X |convert xbm:- png:-');
+header('Content-Type: image/jpeg');
+passthru('echo '.escapeshellarg(base64_decode($_REQUEST['face'])).'|uncompface -X |convert xbm:- jpg:-');
 
 ?>