[Geomoose-users] Printing quality
Brent Fraser
bfraser at geoanalytic.com
Mon Oct 5 10:10:07 EDT 2009
The "quality" variable in GeoMoose v1.6 printpdf2.php is really an integer used
to multiply the map image dimensions (mainly used to minimize line jagginess),
and is not related to jpeg compression quality. Typical values are 1, 2 or 3,
and it is set in the configuration XML, then passed to print.php (have a look at
countydemo.xml around line 116).
Best regards,
Brent Fraser
t faustino wrote:
> Searched through the forums but didn't find a solution;
>
> I am sendng a print of my map search results but they only seem to
> print in low quality; I had a look at printpdf2 and tried adjusting
> this line;
>
> /output file
> $pdf->SetTitle('GeoMOOSE');
> renderImage($xml, $outputPdf.'.jpeg', $mapwidth*$quality*100,
> $mapheight*$quality*100,
> $extent[0], $extent[1], $extent[2], $extent[3], $quality);
>
> $pdf->Image($outputPdf.'.jpeg',.45,.70,$mapwidth,$mapheight);
>
>
> $pdf->Output($outputPdf.'.pdf');
>
>
> from quality 72 to 100 but no change in quality. Can someone provide
> some guidance regarding this?
>
> My aerial is a highres .sid file - so can only assume at this point
> that due to rendering to .jpeg the quality is what it is.
>
>
> Thanks!
>
More information about the Geomoose-users
mailing list