As far as I know, PDF documents do not have DPI settings, as they are vector objects. I assume that you are actually referencing inline bitmaps (JPEG, GIF ...). In this case, just check the documentation for the Image () function : the fourth and fifth parameters ( $w
and $h
) can express the desired DPI if you write a negative value:
// Insert a logo in the top-left corner at 300 dpi $pdf->Image('logo.png',10,10,-300);
source share