Metadata-Version: 2.1
Name: Sprite-sheet-project
Version: 1.1.7
Summary: A useful tool to find sprite image
Home-page: https://github.com/intek-training-jsc/sprite-sheet-nvqMinh29101992.git
Author: Minh Quoc
Author-email: minh.nong@f4.intek.edu.vn
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: bleach (==3.1.0)
Requires-Dist: certifi (==2019.11.28)
Requires-Dist: cffi (==1.13.2)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: cryptography (==2.8)
Requires-Dist: docutils (==0.16)
Requires-Dist: idna (==2.8)
Requires-Dist: keyring (==21.1.0)
Requires-Dist: more-itertools (==8.1.0)
Requires-Dist: numpy (==1.18.1)
Requires-Dist: pillow (==7.0.0)
Requires-Dist: pkginfo (==1.5.0.1)
Requires-Dist: pycparser (==2.19)
Requires-Dist: pygments (==2.5.2)
Requires-Dist: readme-renderer (==24.0)
Requires-Dist: requests (==2.22.0)
Requires-Dist: requests-toolbelt (==0.9.1)
Requires-Dist: six (==1.14.0)
Requires-Dist: tqdm (==4.41.1)
Requires-Dist: twine (==3.1.1)
Requires-Dist: urllib3 (==1.25.7)
Requires-Dist: webencodings (==0.5.1)
Requires-Dist: wheel (==0.33.6)
Requires-Dist: zipp (==2.0.0)
Requires-Dist: importlib-metadata (==1.4.0) ; python_version < "3.8"
Requires-Dist: jeepney (==0.4.2) ; sys_platform == "linux"
Requires-Dist: secretstorage (==3.1.2) ; sys_platform == "linux"

#  Sprite Sheet
A sprite is a small raster graphic (a bitmap) that represents an object such as a character, a vehicle, a projectile, etc.

Sprites are a popular way to create large, complex scenes as you can manipulate each sprite separately from the rest of the scene. This allows for greater control over how the scene is rendered, as well as over how the players can interact with the scene.

    This Package is a useful tool to find  Sprite Sheet of image (lower than 2048*2048).
#### Requirements:
    Linux

#### Install:

    #cd to your image folder

    $cd image
    $pip install Sprite-sheet-project==1.1.7
    $python3

    >>> from sprite_nvqMinh.spriteutil import SpriteSheet
    >>> import timeit
    >>> from PIL import Image
    >>> start = timeit.timeit()
    >>> image = Image.open('1.png')
    >>> sprite_sheet = SpriteSheet(image)
    >>> sprites, labels = sprite_sheet.find_sprites()
    >>> print(len(sprites))
    >>> image = sprite_sheet.create_sprite_labels_image()
    >>> image.save('save2.png')
    >>> end = timeit.timeit()
    >>> print(end)

#### Functional testing:
    Step 1 : clone from github to your  git repository
       git@github.com:intek-training-jsc/sprite-sheet-nvqMinh29101992.git
    Step 2 : git branch to see all branches
    Step 3 : git checkout <branch_name> to see each part of this project

## Contributing
    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License

    This project is licensed under the MIT License - see the LICENSE.md file for details

