diff --git a/FPDF/fpdf.php b/FPDF/fpdf.php
index 9d4fbcb..b84f2e0 100644
--- a/FPDF/fpdf.php
+++ b/FPDF/fpdf.php
@@ -896,7 +896,7 @@ function Ln($h=null)
         $this->y+=$h;
 }
 
-function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='')
+function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='', $isMask=false, $maskImg=0)
 {
     //Put an image on the page
     if(!isset($this->images[$file]))
diff --git a/FPDF/fpdf_alpha.php b/FPDF/fpdf_alpha.php
index dc59d8d..a7605ba 100644
--- a/FPDF/fpdf_alpha.php
+++ b/FPDF/fpdf_alpha.php
@@ -23,7 +23,7 @@ var $tmpFiles = array();
 *                               Public methods                                 *
 *                                                                              *
 *******************************************************************************/
-function Image($file,$x,$y,$w=0,$h=0,$type='',$link='', $isMask=false, $maskImg=0)
+function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='', $isMask=false, $maskImg=0)
 {
 	//Put an image on the page
 	if(!isset($this->images[$file]))
