# logo-standardizer
## Description
A smart logo standardizer that detects both the logo and the background of an unstandardized logo picture and transforms it into the desired logo standards for app circled or general front-end display.
## Installation
\$ pip install logo-standardizer==1.0.1
## Usage
A brief example of how to use the package:
```python
from logo_standardizer import logo_standardize
# call the function directly and fill the required arguments
logo_path = "example/import_dir/img_name"
export_dir = "example/export_dir"
standard_dimension = 300 # optional
message = logo_standardize.standardize(logo_path, export_dir, standard_dimension)
#print the message to confirm the completion of the process
print(message)
Raw data
{
"_id": null,
"home_page": "",
"name": "logo-standardizer",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "python,logo,standardization,logo standardizer,logo resizer,logo standardize,resize,standardize",
"author": "Mohammed Elsiddig (Jubii)",
"author_email": "mohammedjelsiddig@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c6/62/4270bf639222ab2e42c71e8c72a3ca5cca66e2cd1e96900c2d66512572ab/logo_standardizer-1.0.1.tar.gz",
"platform": null,
"description": "# logo-standardizer\r\n\r\n## Description\r\n\r\nA smart logo standardizer that detects both the logo and the background of an unstandardized logo picture and transforms it into the desired logo standards for app circled or general front-end display.\r\n\r\n## Installation\r\n\r\n\\$ pip install logo-standardizer==1.0.1\r\n\r\n## Usage\r\n\r\nA brief example of how to use the package:\r\n\r\n```python\r\nfrom logo_standardizer import logo_standardize\r\n\r\n# call the function directly and fill the required arguments\r\nlogo_path = \"example/import_dir/img_name\" \r\nexport_dir = \"example/export_dir\"\r\nstandard_dimension = 300 # optional\r\n\r\nmessage = logo_standardize.standardize(logo_path, export_dir, standard_dimension)\r\n\r\n#print the message to confirm the completion of the process\r\nprint(message)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Smart logo standardizer",
"version": "1.0.1",
"split_keywords": [
"python",
"logo",
"standardization",
"logo standardizer",
"logo resizer",
"logo standardize",
"resize",
"standardize"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "feb3820620db332e29997a90487aa84331db84aabc8716fdc09ed9f59c2cb678",
"md5": "5c71896a1d0676fbe63286f102e212de",
"sha256": "6e22673a77efe5b96a1bbb97cbd4f869373bc7a2dcdcb62a0c2a184494cb26ad"
},
"downloads": -1,
"filename": "logo_standardizer-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5c71896a1d0676fbe63286f102e212de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4810,
"upload_time": "2023-04-11T16:12:33",
"upload_time_iso_8601": "2023-04-11T16:12:33.641706Z",
"url": "https://files.pythonhosted.org/packages/fe/b3/820620db332e29997a90487aa84331db84aabc8716fdc09ed9f59c2cb678/logo_standardizer-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c6624270bf639222ab2e42c71e8c72a3ca5cca66e2cd1e96900c2d66512572ab",
"md5": "f2f57062dc5733171428fd6c6919b4cc",
"sha256": "79a2936fc3d2b3fa3f1094fc2728d37617703a0e918ce98114abcde991cf791e"
},
"downloads": -1,
"filename": "logo_standardizer-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f2f57062dc5733171428fd6c6919b4cc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4430,
"upload_time": "2023-04-11T16:12:35",
"upload_time_iso_8601": "2023-04-11T16:12:35.982838Z",
"url": "https://files.pythonhosted.org/packages/c6/62/4270bf639222ab2e42c71e8c72a3ca5cca66e2cd1e96900c2d66512572ab/logo_standardizer-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-11 16:12:35",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "logo-standardizer"
}