Welcome to the Factorio Icons Repository! This repository hosts scripts to extract and process the icons used in the Factorio game and its Space Age DLC.
- Automated Icon Processing: Leverage Python scripts to collect, create variations, crop, upscale, and combine icons effortlessly.
- Customization: Tailor icons to your project's specific needs with easy-to-use processing tools.
- Clone the Repository
- Navigate to the Project Directory
- Install Dependencies
Ensure you have Python installed. Install necessary Python packages using pip:
pip install -r requirements.txt
This repository includes five Python scripts, each serving a specific purpose in managing and processing icons.
Description:
This script searches for PNG images within a specified directory and its subdirectories.
It copies images that match target sizes to a designated destination folder, ensuring no
filename conflicts by generating unique filenames when necessary.
Description:
This script generates barrel icons for various fluids in a game or application using the Python Imaging
Library (PIL). It creates composite icons for filled and empty barrels based on fluid colors.
Description:
This module provides functionality to process PNG images by cropping them into specified parts based on their
dimensions. It is designed to handle images with specific width-to-height ratios, supporting both 2-part and
4-part cropping modes.
Description:
This module provides functions to rescale images from a specified size to a target size.
It supports processing individual image files or entire folders containing images.
Description:
This script provides functionality to overlay multiple images with optional downscaling.
It uses the Python Imaging Library (PIL) to manipulate images and combine them into a single output.
Contributions are welcome! Whether it's improving the scripts, adding new icons, or enhancing documentation, your contributions help make this project better.
- Fork the Repository
- Create a New Branch
- Commit Your Changes
- Push to the Branch
- Open a Pull Request
Please ensure your code follows the project's coding standards and that you've included appropriate tests.
This project is licensed under the MIT License. You are free to use, modify, and distribute the scripts as per the license terms.
- Factorio for the amazing game and icons.
- Open-source community contributors for their invaluable tools and resources.
Happy Crafting!