معرفی شرکت ها


contourheightmap-1.1.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A fast python library and command line tool for generating topographic contour maps from heightmaps and images.
ویژگی مقدار
سیستم عامل -
نام فایل contourheightmap-1.1.1
نام contourheightmap
نسخه کتابخانه 1.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Luke Miller
ایمیل نویسنده dodgyville@gmail.com
آدرس صفحه اصلی https://gitlab.com/dodgyville/contourheightmap
آدرس اینترنتی https://pypi.org/project/contourheightmap/
مجوز LGPLv3
# Contour Heightmap A fast python library and command line tool for generating contour maps from heightmaps and images. Given an image file (preferably RGB PNG), it will output a PNG with topographic contour lines and an SVG file of the contour lines. If viewing this document on the gitlab page, you should see some example images below: ![Heightmap with contour lines](examples/heightmap_500x800.png "Contoured") ![Heightmap with contour lines](examples/heightmap_500x800_contour.png "Contoured") ![Heightmap with contour lines](examples/snowdon.png "Contoured") ![Heightmap with contour lines](examples/snowdon_contour.png "Contoured") Questions? Contributions? Bug reports? Open an issue on the [gitlab page for the project](https://gitlab.com/dodgyville/contourheightmap). We are very interested in hearing your use cases for `contourheightmap` to help drive the roadmap. ### Roadmap * More control on the output image * More control on the output svg ### Contributors * Luke Miller ## Installing ``` pip install contourheightmap ``` or ``` py -m pip install contourheightmap ``` ## Source ``` git clone https://gitlab.com/dodgyville/contourheightmap ``` # Quick Start ## How do I... ### Contour an image from the shell command line? `contourheightmap path/to/heightmap.png` Result will be in output.png and output.svg ### Provide an output file from the shell command line? `contourheightmap path/to/heightmap.png my-output.png` Result will be in my-output.png and my-output.svg ### Contour an image from within python? ```python from contourheightmap import ContourHeightmap c = ContourHeightmap() c.contour("path/to/heightmap.png") ``` Result will be in output.png and output.svg ### Provide an output filename within python? ```python from contourheightmap import ContourHeightmap c = ContourHeightmap() c.contour("path/to/heightmap.png", "path/to/output.png") ``` Output will also be in path/to/output.svg # Changelog * 1.1.0 - begin switch from setup.py to `pyproject` and `poetry` - added cli tool to make library available from command line


نیازمندی

مقدار نام
>=3.5.1,<4.0.0 matplotlib
>=9.1.0,<10.0.0 Pillow
>=1.22.3,<2.0.0 numpy
>=1.0.4,<2.0.0 importlib
>=0.4.1,<0.5.0 typer


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl contourheightmap-1.1.1:

    pip install contourheightmap-1.1.1.whl


نصب پکیج tar.gz contourheightmap-1.1.1:

    pip install contourheightmap-1.1.1.tar.gz