Skip to content

Commit

Permalink
Fill ImageDraw nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nourepide committed Nov 28, 2023
1 parent a5f6c0c commit c6b8383
Show file tree
Hide file tree
Showing 16 changed files with 1,226 additions and 8 deletions.
73 changes: 72 additions & 1 deletion Writerside/topics/Image-Draw-Arc-By-Container.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,74 @@
# Arc By Container

Start typing here...
<deflist type="narrow">
<def title="Full Name">
ImageDrawChordByContainer
</def>
<def title="Description">
Draws an arc (a portion of a circle outline) between the start and end angles, inside the given bounding box.
</def>
<def title="Backend">
<a href="Modules.md" anchor="pillow" summary="A widely used Python library for image manipulation.">Pillow</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Container">
Container size
</def>
<def title="Size">
Contour size
</def>
<def title="Start X">
Start vertical point to define the bounding box in percentage of image container
</def>
<def title="Start Y">
Start horizontal point to define the bounding box in percentage of image container
</def>
<def title="End X">
End vertical point to define the bounding box in percentage of image container
</def>
<def title="End Y">
End horizontal point to define the bounding box in percentage of image container
</def>
<def title="Start">
Starting angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="End">
Ending angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="Red">
Red channel of color
</def>
<def title="Green">
Green channel of color
</def>
<def title="Blue">
Blue channel of color
</def>
<def title="Alpha">
Alpha channel of color
</def>
<def title="SSAA">
<control>S</control>uper-<control>S</control>ampling <control>A</control>nti-<control>A</control>liasing
— is a technique where the image is temporarily upscale and modified at this higher resolution.
</def>
<def title="Method">
<list>
<li><control>Lanczos</control> — 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.</li>
<li><control>Bicubic</control> — 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.</li>
<li><control>Hamming</control> — 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.</li>
<li><control>Bilinear</control> — 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.</li>
<li><control>Box</control> — 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.</li>
<li><control>Nearest</control> — 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.</li>
</list>
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Image">
RGBA image
</def>
</deflist>
</def>
</deflist>
76 changes: 76 additions & 0 deletions Writerside/topics/Image-Draw-Arc.md
Original file line number Diff line number Diff line change
@@ -1 +1,77 @@
# Arc

<deflist type="narrow">
<def title="Full Name">
ImageDrawArc
</def>
<def title="Description">
Draws a portion of a circle outline between the start and end angles, inside the given bounding box.
</def>
<def title="Backend">
<a href="Modules.md" anchor="pillow" summary="A widely used Python library for image manipulation.">Pillow</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Width">
Width of container
</def>
<def title="Height">
Height of container
</def>
<def title="Size">
Contour size
</def>
<def title="Start X">
Start vertical point to define the bounding box in percentage of image container
</def>
<def title="Start Y">
Start horizontal point to define the bounding box in percentage of image container
</def>
<def title="End X">
End vertical point to define the bounding box in percentage of image container
</def>
<def title="End Y">
End horizontal point to define the bounding box in percentage of image container
</def>
<def title="Start">
Starting angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="End">
Ending angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="Red">
Red channel of color
</def>
<def title="Green">
Green channel of color
</def>
<def title="Blue">
Blue channel of color
</def>
<def title="Alpha">
Alpha channel of color
</def>
<def title="SSAA">
<control>S</control>uper-<control>S</control>ampling <control>A</control>nti-<control>A</control>liasing
— is a technique where the image is temporarily upscale and modified at this higher resolution.
</def>
<def title="Method">
<list>
<li><control>Lanczos</control> — 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.</li>
<li><control>Bicubic</control> — 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.</li>
<li><control>Hamming</control> — 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.</li>
<li><control>Bilinear</control> — 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.</li>
<li><control>Box</control> — 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.</li>
<li><control>Nearest</control> — 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.</li>
</list>
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Image">
RGBA image
</def>
</deflist>
</def>
</deflist>
74 changes: 73 additions & 1 deletion Writerside/topics/Image-Draw-Chord-By-Container.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
# Chord By Container

Start typing here...
<deflist type="narrow">
<def title="Full Name">
ImageDrawChordByContainer
</def>
<def title="Description">
Draws a portion of a circle outline between the start and end angles and connects the end points with a straight
line, inside the given bounding box.
</def>
<def title="Backend">
<a href="Modules.md" anchor="pillow" summary="A widely used Python library for image manipulation.">Pillow</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Container">
Container size
</def>
<def title="Size">
Contour size
</def>
<def title="Start X">
Start vertical point to define the bounding box in percentage of image container
</def>
<def title="Start Y">
Start horizontal point to define the bounding box in percentage of image container
</def>
<def title="End X">
End vertical point to define the bounding box in percentage of image container
</def>
<def title="End Y">
End horizontal point to define the bounding box in percentage of image container
</def>
<def title="Start">
Starting angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="End">
Ending angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="Red">
Red channel of color
</def>
<def title="Green">
Green channel of color
</def>
<def title="Blue">
Blue channel of color
</def>
<def title="Alpha">
Alpha channel of color
</def>
<def title="SSAA">
<control>S</control>uper-<control>S</control>ampling <control>A</control>nti-<control>A</control>liasing
— is a technique where the image is temporarily upscale and modified at this higher resolution.
</def>
<def title="Method">
<list>
<li><control>Lanczos</control> — 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.</li>
<li><control>Bicubic</control> — 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.</li>
<li><control>Hamming</control> — 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.</li>
<li><control>Bilinear</control> — 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.</li>
<li><control>Box</control> — 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.</li>
<li><control>Nearest</control> — 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.</li>
</list>
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Image">
RGBA image
</def>
</deflist>
</def>
</deflist>
77 changes: 77 additions & 0 deletions Writerside/topics/Image-Draw-Chord.md
Original file line number Diff line number Diff line change
@@ -1 +1,78 @@
# Chord

<deflist type="narrow">
<def title="Full Name">
ImageDrawChord
</def>
<def title="Description">
Draws a portion of a circle outline between the start and end angles and connects the end points with a straight
line, inside the given bounding box.
</def>
<def title="Backend">
<a href="Modules.md" anchor="pillow" summary="A widely used Python library for image manipulation.">Pillow</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Width">
Width of container
</def>
<def title="Height">
Height of container
</def>
<def title="Size">
Contour size
</def>
<def title="Start X">
Start vertical point to define the bounding box in percentage of image container
</def>
<def title="Start Y">
Start horizontal point to define the bounding box in percentage of image container
</def>
<def title="End X">
End vertical point to define the bounding box in percentage of image container
</def>
<def title="End Y">
End horizontal point to define the bounding box in percentage of image container
</def>
<def title="Start">
Starting angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="End">
Ending angle, in degrees. Angles are measured from 3 o’clock, increasing clockwise
</def>
<def title="Red">
Red channel of color
</def>
<def title="Green">
Green channel of color
</def>
<def title="Blue">
Blue channel of color
</def>
<def title="Alpha">
Alpha channel of color
</def>
<def title="SSAA">
<control>S</control>uper-<control>S</control>ampling <control>A</control>nti-<control>A</control>liasing
— is a technique where the image is temporarily upscale and modified at this higher resolution.
</def>
<def title="Method">
<list>
<li><control>Lanczos</control> — 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.</li>
<li><control>Bicubic</control> — 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.</li>
<li><control>Hamming</control> — 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.</li>
<li><control>Bilinear</control> — 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.</li>
<li><control>Box</control> — 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.</li>
<li><control>Nearest</control> — 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.</li>
</list>
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Image">
RGBA image
</def>
</deflist>
</def>
</deflist>
Loading

0 comments on commit c6b8383

Please sign in to comment.