Giter Club home page Giter Club logo

image-packer's Introduction

Image Packer

This Blender addon allows you to combine multiple images into a single image using different packing algorithms. You can also add padding to each image as needed. The Image Packer panel is only visible in the Image Editor area.

Installation

To install this addon, do the following:

  1. Download the latest release from the releases page.
  2. In Blender, go to Edit > Preferences > Add-ons.
  3. Click the "Install" button, and select the downloaded .zip file.
  4. Enable the addon by checking the checkbox next to its name.

Usage

To use this addon, do the following:

  1. Open a new Blender file.
  2. Go to the Image Editor area.
  3. Open the Image Packer panel and set the collection name and background colour.
  4. In the Image Packer panel, select the images you want to add to the packing list.
  5. Choose a packing algorithm from the dropdown menu.
  6. Optionally, dail in additional options as needed.
  7. Click the "Pack Images" button to generate the combined image.

Configuration

This addon has the following configuration options:

  • Packing algorithm: Choose from several different algorithms for packing images together, including:

    • Square packing: This algorithm scales each image to have the same width and height, and the combined image is also a square.

      Screenshot

    • Row packing: This algorithm keeps the images in the order of the packing list and scales the images to have the same height.

      Screenshot

    • Column packing: This algorithm keeps the images in the order of the packing list and scales the images to have the same width.

      Screenshot

    • Next fit packing: This algorithm keeps the size of the images and follows the order of the packing list, but may result in gaps between the rows.

      Screenshot

  • Padding: Adjust the amount of padding to add around each image. Screenshot

Troubleshooting

If you experience any issues with this addon, try the following:

  1. Make sure you have installed the latest version of the addon.
  2. Check the Blender console (Window > Toggle System Console) for any error messages.
  3. If you still can't resolve the issue, open an issue on the GitHub repository.

Contributing

If you would like to contribute to this addon, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes, and commit them with a descriptive commit message.
  4. Push your changes to your fork.
  5. Create a pull request from your fork to the main repository.

License

This addon is released under the GNU General Public License (GPL). See LICENSE for details.

image-packer's People

Contributors

herrwaffel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

image-packer's Issues

Can't import rpack_core on Blender 3.6

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\addon_utils.py", line 333, in enable
mod = import(module_name)
File "C:\Users\templ\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\image-packer-master_init_.py", line 12, in
from . import operators, properties, ui, preferences
File "C:\Users\templ\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\image-packer-master\operators.py", line 4, in
from .utils import (
File "C:\Users\templ\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\image-packer-master\utils.py", line 7, in
from .dependencies import rpack
File "C:\Users\templ\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\image-packer-master\dependencies\rpack_init_.py", line 146, in
from ._core import (
ModuleNotFoundError: No module named 'image-packer-master.dependencies.rpack._core'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.