Name | LeerImagenes JSON |
Version |
1.0.1
JSON |
| download |
home_page | https://github.com/ZaimirPuerta |
Summary | Light image reader | Lector ligero de imagenes |
upload_time | 2024-04-08 02:46:44 |
maintainer | None |
docs_url | None |
author | Zaimir |
requires_python | None |
license | MIT License Copyright (c) 2024 Zaimir Puerta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
leerimagenes
leer
imagenes
leer
imagenes
read
images
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Light image reader | Lector ligero de imagenes
==========================
[*ENGLISH*]
It is a light image reader with functions for use with tkinter.
This reader created it with the intention that it would be easier to use with the tkinter module (*and customtkinter*)
[*ESPAÑOL*]
Es un lector de imagenes ligero con funciones para usar con tkinter.
Este lector lo cree con la intencion de que fuera mas sencillo usar con el modulo tkinter (*y customtkinter*)
Installation (*pip or setup*)
=============================
+ With pip :
1. ``pip install LeerImagenes``
Usage
=================
.. code::
# IMPORT MODULE | IMPORTAR MODULO
import LeerImagenes as li
# CREATE CANVAS IMAGE | CREAR UN LIENZO EN BLANCO
image = createImage(32, 32)
# FILL RECTANGLE RED | PINTAR UN RECTANGULO ROJO
drawRectangle(image, 0,0, 32, 32, (255,0,0,255))
# SAVE FIRST FILE | GUARDAR PRIMER ARCHIVO
saveImageToFile(image, IMGMODE_PNG, "outputx32.png")
# CHANGE THE SIZE | CAMBIAR EL TAMAÑO
scaleImage(image, 320, 320)
# DRAW TWO LINES | DIBUJAR DOS LINEAS
drawLine(image, 0,0, 319,319, (0,255,255,255), 8)
drawLine(image, 319,0, 0,319, (0,255,255,255), 8)
# SAVE SECOND FILE | GUARDAR SEGUNDO ARCHIVO
saveImageToFile(image, IMGMODE_PNG, "outputx320.png")
# CHANGE THE SIZE | CAMBIAR EL TAMAÑO
scaleImage(image, 64, 64)
# SAVE THIRD FILE | GUARDAR TERCER ARCHIVO
saveImageToFile(image, IMGMODE_PNG, "outputx64.png")
Raw data
{
"_id": null,
"home_page": "https://github.com/ZaimirPuerta",
"name": "LeerImagenes",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "LeerImagenes, Leer, Imagenes, leer, imagenes, read, images",
"author": "Zaimir",
"author_email": "zaimirpuerta2711@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/47/4d/dff4b1b28fb2693b011bc6ef8878e8b9ded75b05688761d1cc141c040a2a/LeerImagenes-1.0.1.tar.gz",
"platform": null,
"description": "Light image reader | Lector ligero de imagenes\r\n==========================\r\n\r\n[*ENGLISH*]\r\nIt is a light image reader with functions for use with tkinter.\r\nThis reader created it with the intention that it would be easier to use with the tkinter module (*and customtkinter*)\r\n\r\n[*ESPA\u00d1OL*]\r\nEs un lector de imagenes ligero con funciones para usar con tkinter.\r\nEste lector lo cree con la intencion de que fuera mas sencillo usar con el modulo tkinter (*y customtkinter*)\r\n\r\n\r\nInstallation (*pip or setup*)\r\n=============================\r\n\r\n+ With pip : \r\n\r\n 1. ``pip install LeerImagenes``\r\n\r\n\r\nUsage\r\n=================\r\n\r\n\r\n\r\n\r\n.. code::\r\n\r\n # IMPORT MODULE | IMPORTAR MODULO\r\n\timport LeerImagenes as li\r\n\t\r\n\t# CREATE CANVAS IMAGE | CREAR UN LIENZO EN BLANCO\r\n\timage = createImage(32, 32)\r\n\t\r\n\t# FILL RECTANGLE RED | PINTAR UN RECTANGULO ROJO\r\n\tdrawRectangle(image, 0,0, 32, 32, (255,0,0,255))\r\n\t\r\n\t# SAVE FIRST FILE | GUARDAR PRIMER ARCHIVO\r\n\tsaveImageToFile(image, IMGMODE_PNG, \"outputx32.png\")\r\n\t\r\n\t# CHANGE THE SIZE | CAMBIAR EL TAMA\u00d1O\r\n\tscaleImage(image, 320, 320)\r\n\t\r\n\t# DRAW TWO LINES | DIBUJAR DOS LINEAS\r\n\tdrawLine(image, 0,0, 319,319, (0,255,255,255), 8)\r\n\tdrawLine(image, 319,0, 0,319, (0,255,255,255), 8)\r\n\t\r\n\t# SAVE SECOND FILE | GUARDAR SEGUNDO ARCHIVO\r\n\tsaveImageToFile(image, IMGMODE_PNG, \"outputx320.png\")\r\n\t\r\n\t# CHANGE THE SIZE | CAMBIAR EL TAMA\u00d1O\r\n\tscaleImage(image, 64, 64)\r\n\t\r\n\t# SAVE THIRD FILE | GUARDAR TERCER ARCHIVO\r\n\tsaveImageToFile(image, IMGMODE_PNG, \"outputx64.png\")\r\n\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Zaimir Puerta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Light image reader | Lector ligero de imagenes",
"version": "1.0.1",
"project_urls": {
"Download": "https://github.com/ZaimirPuerta/LeerImagenes/",
"Homepage": "https://github.com/ZaimirPuerta"
},
"split_keywords": [
"leerimagenes",
" leer",
" imagenes",
" leer",
" imagenes",
" read",
" images"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "474ddff4b1b28fb2693b011bc6ef8878e8b9ded75b05688761d1cc141c040a2a",
"md5": "a4fededc7deb72ec29997846cb8dd370",
"sha256": "fadaecfa884ffef4d89e3f1e9f399cd20a5851564af1bfc86cd89c719a4646de"
},
"downloads": -1,
"filename": "LeerImagenes-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a4fededc7deb72ec29997846cb8dd370",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 953129,
"upload_time": "2024-04-08T02:46:44",
"upload_time_iso_8601": "2024-04-08T02:46:44.720909Z",
"url": "https://files.pythonhosted.org/packages/47/4d/dff4b1b28fb2693b011bc6ef8878e8b9ded75b05688761d1cc141c040a2a/LeerImagenes-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-08 02:46:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ZaimirPuerta",
"github_project": "LeerImagenes",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "leerimagenes"
}