La documentación original dice:
Cita: sin indicar ninguna dimensión explícita. En este caso, la imagen se imprime a 72 puntos por pulgada
Realmente no deja claro en el caso de que se especifique tamaño .. ¿a cuantos DPI los deja entonces?.
Tampoco el método "image()" original tiene parámetro para indicar la resolución concreta que queremos.
Podrías consultar en el foro de dicha classe:
http://www.fpdf.org/phorum/
a ver si aparece algún mensaje referente al tema o aparencen los creadores de FPDF (o colaboradores) que te indiquen que hacer.
"Intentando" ver algo sobre el tema .. si te fijas en el método "image()":
Código PHP:
<?
function Image($file,$x,$y,$w=0,$h=0,$type='',$link='')
{
//Put an image on the page
if(!isset($this->images[$file]))
{
//First use of image, get info
if($type=='')
{
$pos=strrpos($file,'.');
if(!$pos)
$this->Error('Image file has no extension and no type was specified: '.$file);
$type=substr($file,$pos+1);
}
$type=strtolower($type);
$mqr=get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
if($type=='jpg' || $type=='jpeg')
$info=$this->_parsejpg($file);
elseif($type=='png')
$info=$this->_parsepng($file);
else
{
//Allow for additional formats
$mtd='_parse'.$type;
if(!method_exists($this,$mtd))
$this->Error('Unsupported image type: '.$type);
$info=$this->$mtd($file);
}
set_magic_quotes_runtime($mqr);
$info['i']=count($this->images)+1;
$this->images[$file]=$info;
}
else
$info=$this->images[$file];
//Automatic width and height calculation if needed
if($w==0 && $h==0)
{
//Put image at 72 dpi
$w=$info['w']/$this->k;
$h=$info['h']/$this->k;
}
if($w==0)
$w=$h*$info['w']/$info['h'];
if($h==0)
$h=$w*$info['h']/$info['w'];
$this->_out(sprintf('q %.2f 0 0 %.2f %.2f %.2f cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,($this->h-($y+$h))*$this->k,$info['i']));
if($link)
$this->Link($x,$y,$w,$h,$link);
}
Ahí aparece una sección de código que inserta ciertos comandos PDF .. realmente ahí se me escapa el tema .. habría que ver un manual de PDF y ver como internamente trabaja el tema (yo no alcanzo a comprender todas las operaciones matemáticas que hacen ahí ...)
Un saludo,