Skip to content

kyroskoh/png_tilegen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a little application that produces tiles for an OSM tile
server out of a large png or ppm file. It was created to replace 
and speed up a script that called convert. If your binary is
called jpg_tilegen it will output jpeg files instead of png files.

== Compile ==

 $ cmake .
 $ make

== License ==

To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide.  This software is distributed without any
warranty.
 
See http://creativecommons.org/publicdomain/zero/1.0/

== Profiling ==

The execution speed can be tweaked a little bit by changing the
compression level for zlib (see sources). The default settings give a
good performance with very small resulting tile sizes. Using
Z_BEST_SPEED instead you get about 50% speedup with about 30% larger
file sizes. Z_BEST_COMPRESSION is 3-4 times slower with only about 1%
smaller file size.

About

Little app to split and scale a large png tile for use in a osm tile server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.1%
  • CMake 2.9%