Giter Club home page Giter Club logo

hgt2png's People

Contributors

garrettsickles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

moonko-io

hgt2png's Issues

Absolute heights in PNG

As you already pointed out, this program maps the color #000000 to the lowest point of the HGT file and #FFFFFF to the highest point. This is certainly useful, but if you want to combine multiple HGT images with different height ranges, this feature becomes a problem.
So, could you add a command-line argument that allows you to specify whether you want the PNG to use colors depending on the height range of the HGT file (grayscale) or to use globally defined colors which are identical between the converted files? For example, the color value #7F7F7F (medium gray) could be 0 meters above sea level, so would #7F7F80 be 1 meter above sea level and so on. When using non-grayscale colors, every height from the Mariana Trench to the summit of Mount Everest should be covered.
Since I have no clue about C++ and was hardly able to build this program, I can't implement it myself. Thank you for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.