pyins package¶
Submodules¶
pyins.pyins module¶
-
pyins.pyins.land_split(pic_name, color='b')[source]¶ Split one landscape pic into two continuous portrait pics.
Parameters: - pic_name (str) – Name of the pic file, e.g. “pic_1.jpg”
- color (str) – Color used to fill the empty sidebars. [‘b’, ‘w’], ‘b’-black, ‘w’-white
Returns: Return type: None. Processed pics will be saved into ‘output’ folder.
Examples
>>> from pyins import pyins >>> pyins.land_split('pic_1.jpg', color='b')