Skip to content

Commit

Permalink
chore(release): v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jahed committed Sep 15, 2020
1 parent 0d253ad commit 6d32d5f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ DESCRIPTION
Converts an image to map tiles to be used in Google Maps, Leaflet and other
map rendering software.
Version: v1.0.0
Version: v1.1.0
Homepage: https://github.com/jahed/im-map-tiles
Donate: https://jahed.dev/donate
OPTIONS
<input_image>
Image to convert into tiles. Must exist. Must be square.
Image to convert into tiles. Must exist. Must be square, otherwise
see --square option.
<output_directory>
Output directory. Must NOT exist, to avoid polluting existing directories.
Expand All @@ -42,8 +43,8 @@ OPTIONS
-o, --optimise (lossy|lossless)
Optimises tiles depending on the <format>.
png uses pngquant (lossy) or optipng (lossless)
jpg uses jpegtran (lossless)
* png uses pngquant (lossy) or optipng (lossless)
* jpg uses jpegtran (lossless)
Lossy optimisations may cause a size increase depending on each tile's
complexity. Only use it for maps which store a lot of detail per tile.
Expand Down Expand Up @@ -81,8 +82,7 @@ EXAMPLES
Take a detailed image and create optimised tiles to save space.
./im-map-tiles.sh detailed_map.png --optimise lossy ./tiles
Take an rectangular image, square it with a red background and output it as
JPG tiles.
Take an image, square it with a red background and output it as JPG tiles.
./im-map-tiles.sh map.png --square --format jpg --background #ff0000 ./tiles
DEPENDENCIES
Expand Down
12 changes: 6 additions & 6 deletions im-map-tiles.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

name="im-map-tiles"
version="v1.0.0"
version="v1.1.0"

function print_help {
cat <<EOF
Expand All @@ -21,7 +21,8 @@ DESCRIPTION
OPTIONS
<input_image>
Image to convert into tiles. Must exist. Must be square.
Image to convert into tiles. Must exist. Must be square, otherwise
see --square option.
<output_directory>
Output directory. Must NOT exist, to avoid polluting existing directories.
Expand All @@ -36,8 +37,8 @@ OPTIONS
-o, --optimise (lossy|lossless)
Optimises tiles depending on the <format>.
png uses pngquant (lossy) or optipng (lossless)
jpg uses jpegtran (lossless)
* png uses pngquant (lossy) or optipng (lossless)
* jpg uses jpegtran (lossless)
Lossy optimisations may cause a size increase depending on each tile's
complexity. Only use it for maps which store a lot of detail per tile.
Expand Down Expand Up @@ -75,8 +76,7 @@ EXAMPLES
Take a detailed image and create optimised tiles to save space.
${0} detailed_map.png --optimise lossy ./tiles
Take an rectangular image, square it with a red background and output it as
JPG tiles.
Take an image, square it with a red background and output it as JPG tiles.
${0} map.png --square --format jpg --background #ff0000 ./tiles
DEPENDENCIES
Expand Down

0 comments on commit 6d32d5f

Please sign in to comment.