Metadata-Version: 2.1
Name: psd2html
Version: 0.2.0
Summary: Convert PSD file to HTML
Home-page: https://github.com/kimngei/psd2html
Author: Andrew Ngei
Author-email: andrew@kimngei.pro
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: psd-tools
Requires-Dist: lxml
Requires-Dist: beautifulsoup4
Requires-Dist: numpy
Requires-Dist: scipy

PSD2HTML
=======

PSD to HTML converter based on [`psd-tools`](https://github.com/psd-tools/psd-tools)

Install
-------

Use ``pip`` to install::

    pip install psd2html

Usage
-----

The package comes with a command-line tool::

    psd2html input.psd output.html

When the output path is a directory, or omitted, the tool infers the output
name from the input::

    psd2html file.psd                 # => file.html
    psd2html file.psd dir/            # => dir/file.html
    psd2html file.psd dir/file1       # => dir/file1.html
    psd2html file.psd dir/file1.html  # => dir/file1.html

Notes:
-----
Not all PSD layers are being converted to HTML elements. Current release only converts the [TypeLayer](https://psd-tools.readthedocs.io/en/latest/reference/psd_tools.api.layers.html#typelayer) to HTML, all the others types i.e Artboard, PixelLayer, ShapeLayer and SmartObjectLayer are rendered as png images. 

Future releases will include support for other types of layers.

