Rectangle By Container
- Full Name
ImageDrawRectangleByContainer
- Description
Draws a rectangle.
- Backend
- Input Parameters
- Container
Container size
- Width
Width of container
- Height
Height of container
- Start X
Start vertical point to define the bounding box in percentage of image container
- Start Y
Start horizontal point to define the bounding box in percentage of image container
- End X
End vertical point to define the bounding box in percentage of image container
- End Y
End horizontal point to define the bounding box in percentage of image container
- Outline Size
Outline size
- Outline Red
Red channel of outline color
- Outline Green
Green channel of outline color
- Outline Blue
Blue channel of outline color
- Outline Alpha
Alpha channel of outline color
- Fill Red
Red channel of color
- Fill Green
Green channel of color
- Fill Blue
Blue channel of color
- Fill Alpha
Alpha channel of color
- SSAA
Super-Sampling Anti-Aliasing — is a technique where the image is temporarily upscale and modified at this higher resolution.
- Method
Lanczos — A high-quality, computationally intensive resampling filter often used in professional-grade image processing software to resize images. It’s known for preserving high-frequency details.
Bicubic — A commonly used method in image processing for resampling. It offers a good balance between image quality and computational efficiency. It’s widely adopted in much image processing software.
Hamming — While not typically used for image resizing, the Hamming algorithm is ubiquitous in computing, particularly in areas like error detection and correction. Its computation can get expensive when comparing a string against many strings.
Bilinear — A fast and efficient algorithm that’s good for changing the size of an image, but it can cause some undesirable softening of details. It’s faster than bicubic and Lanczos, but generally provides lower quality results.
Box — This method takes the target pixel of a box on the original image, and samples every pixel within the box, ensuring that all input pixels contribute to the output. While effective, this method can be difficult to optimize.
Nearest — Also known as nearest-neighbor, this is the fastest and simplest interpolation method, often used when speed is more important than quality. It can result in a blocky image when upscaling.
- Output Parameters
- Image
RGBA image