Skip to content

Introducing Image Slicer, a user-friendly Python application that allows you to quickly and effortlessly unpack your spritesheet into individual sprites.

Notifications You must be signed in to change notification settings

ttloi2404/Image-Slicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gratitude

I extend my deepest gratitude to the following individuals and resources for their invaluable contributions to this project:

  • Isometric8: I created this program based on Isometric8's Sprite Sheet Slicer software. You can find it here.

  • ClearCode: For generously providing the CustomTkinter template, which serves as the bedrock of this application. The insightful tutorial can be found here.

  • Tuaplicacionpropia: For crafting the main algorithm that serves as the backbone of our image slicing functionality. The implementation details can be explored here.

  • Cainos: For graciously offering the pixel art showcased in the video demonstration below. Cainos's creative work can be accessed here.

  • All the dedicated developers and contributors behind the libraries utilized in this application. Their unwavering commitment and hard work have been instrumental in shaping this project.

Instructions for Auto Detection:

Basic Settings:

  • Min Width, Min Height: Define the minimum dimensions of a rectangle; any objects smaller than this will merge with another object.
  • Alpha Threshold: Pixels with an alpha value lower than this threshold are considered part of the background.
  • Number of Cores: Adjust the number of CPU cores used for processing images; increase for faster processing with large images.
  • Background Color: Current background color.
  • Choose Color: Use this button to select a single pixel in the image as the background color.
  • Detect: Initiate object detection.

Enhanced Features of Auto-Detection Mode:

Harness the power of additional utility tools to refine your results:

  • Merge: Combine detected sprites into single units, ideal for overlapping elements or creating larger objects.
  • Delete: Easily remove unwanted sprites from the selection with a single click.
  • Add: Restore accidentally deleted sprites or include additional ones for comprehensive control.

Note: After performing the operations, press Enter to confirm.

Demo

demo

About

Introducing Image Slicer, a user-friendly Python application that allows you to quickly and effortlessly unpack your spritesheet into individual sprites.

Topics

Resources

Stars

Watchers

Forks

Languages