Crate image_builder

source ·
Expand description

Overview

Image Builder is a high-level library that uses the image crate as the engine to generate simple PNG images, but with convenience and simplicity.

Modules

  • Contain some basic colors for quick use, as well as the structure that other colors must follow to be accepted by the library.

Structs

  • This is the structure of the image that will be created. Use the new function to get started. It is important to remember that the order in which elements are added to the image defines which element goes on top of which. For example, adding text that starts at point 0,0 and then adding a rectangle that also starts at the same point will cause the rectangle to cover the text. However, by reversing the order and adding the rectangle first, it will be placed underneath the text. It is essential to keep this order in mind when creating images with multiple elements to ensure that the elements are in the desired order.

Enums