/[flash]/openlayers/pdf2tiles.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /openlayers/pdf2tiles.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18 by dpavlin, Sun Feb 24 12:41:41 2008 UTC revision 19 by dpavlin, Sun Feb 24 21:01:20 2008 UTC
# Line 23  foreach my $zoom ( 1 .. 12 ) { Line 23  foreach my $zoom ( 1 .. 12 ) {
23    
24          my $dpi = $zoom * 15;          my $dpi = $zoom * 15;
25    
26          my $ppm = "tmp-$dpi";          my $ppm = sprintf("tmp-%03d", $dpi);
27          my $tmp = "$ppm-000001.ppm";          my $tmp = "$ppm-000001.ppm";
28    
29          print "rendering pdf $pdf in $dpi dpi to $tmp\n";          print "rendering pdf $pdf in $dpi dpi to $tmp\n";

Legend:
Removed from v.18  
changed lines
  Added in v.19

  ViewVC Help
Powered by ViewVC 1.1.26