--- image_captcha.admin.inc	2009-09-18 01:16:32.000000000 +0200
+++ new_image_captcha.admin.inc	2009-09-19 11:26:38.515625000 +0200
@@ -1,5 +1,5 @@
 <?php
-// $Id: image_captcha.admin.inc,v 1.25 2009/09/17 23:16:32 soxofaan Exp $
+// $Id: image_captcha.admin.inc,v 1.25 2009/09/19 11:16:32 Machi-27 Exp $
 
 /**
  * @file
@@ -61,6 +61,23 @@ function image_captcha_settings_form() {
     '#captcha_admin_mode' => TRUE,
   );
 
+  // image tyoe settings JPG, PNG OR PNG transparent background
+    $form['image_captcha_type_settings'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Image settings'),
+  );
+  $form['image_captcha_type_settings']['image_captcha_image_format'] = array(
+    '#type' => 'select',
+    '#title' => t('Type'),
+    '#description' => 'Select image type, JPG or PNG.',
+    '#default_value' => variable_get('image_captcha_type_img', 'jpg'),
+    '#options' => array(
+      1 => 'jpg',
+	  2 => 'png',
+	  3 => 'png - ' . t('transparent background'),
+    ),
+  );
+
   // General code settings.
   $form['image_captcha_code_settings'] = array(
     '#type' => 'fieldset',
