--- image_captcha.admin.inc	2009-09-18 01:16:32.000000000 +0200
+++ new_image_captcha/image_captcha.admin.inc	2009-09-19 13:26:01.890625000 +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-x 2009/09/19 13:16:00 soxofaan 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',
@@ -147,7 +164,7 @@ function image_captcha_settings_form() {
   $form['image_captcha_color_settings']['image_captcha_background_color'] = array(
     '#type' => 'textfield',
     '#title' => t('Background color'),
-    '#description' => t('Enter the hexadecimal code for the background color (e.g. #FFF or #FFCE90).'),
+    '#description' => t('Enter the hexadecimal code for the background color (e.g. #FFF or #FFCE90).<br/> For png-transparent-background best result use: #FFF. '),
     '#default_value' => variable_get('image_captcha_background_color', '#ffffff'),
     '#maxlength' => 7,
     '#size' => 8,
