Skip to content

Commit ee159ba

Browse files
committed
Deployed f705d99 with MkDocs version: 1.6.1
1 parent 3b90bf8 commit ee159ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
</span><span id=__span-0-14><a id=__codelineno-0-14 name=__codelineno-0-14 href=#__codelineno-0-14></a> <span class=n>Blend</span><span class=o>.</span><span class=n>normal</span><span class=p>(</span><span class=n>bg</span><span class=p>,</span> <span class=n>rotated</span><span class=p>,</span> <span class=n>anchor</span><span class=o>=</span><span class=s1>&#39;center&#39;</span><span class=p>)</span>
1515
</span><span id=__span-0-15><a id=__codelineno-0-15 name=__codelineno-0-15 href=#__codelineno-0-15></a>
1616
</span><span id=__span-0-16><a id=__codelineno-0-16 name=__codelineno-0-16 href=#__codelineno-0-16></a> <span class=n>save</span><span class=p>(</span><span class=n>bg</span><span class=p>,</span> <span class=s1>&#39;output.png&#39;</span><span class=p>)</span>
17-
</span></code></pre></div> </div> <div style="flex: 1;"> <img src=/images/quick.png alt=quick style="width: 100%;"> </div> </div> <hr> <h2 id=installation>Installation</h2> <div class="language-bash highlight"><pre><span></span><code><span id=__span-1-1><a id=__codelineno-1-1 name=__codelineno-1-1 href=#__codelineno-1-1></a>pip<span class=w> </span>install<span class=w> </span>pyimagecuda
17+
</span></code></pre></div> </div> <div style="flex: 1;"> <img src=https://offerrall.github.io/pyimagecuda/images/quick.png alt=quick style="width: 100%;"> </div> </div> <hr> <h2 id=installation>Installation</h2> <div class="language-bash highlight"><pre><span></span><code><span id=__span-1-1><a id=__codelineno-1-1 name=__codelineno-1-1 href=#__codelineno-1-1></a>pip<span class=w> </span>install<span class=w> </span>pyimagecuda
1818
</span></code></pre></div> <p>Requirements:</p> <ul> <li>Windows 10/11 (64-bit), Linux coming soon</li> <li>NVIDIA GPU (GTX 900 series or newer)</li> <li>Standard NVIDIA drivers</li> </ul> <p>No CUDA Toolkit or Visual Studio required.</p> <hr> <h2 id=core-concepts>Core Concepts</h2> <h3 id=images-and-memory>Images and Memory</h3> <p>Two image types: <code>Image</code> (float32) for processing, <code>ImageU8</code> (uint8) for I/O. Memory management: automatic (GC), explicit (<code>with</code>), or manual (<code>.free()</code>).</p> <p>→ <a href=image/ >Full details: Image &amp; Memory</a></p> <hr> <h3 id=operation-patterns>Operation Patterns</h3> <p>Functions follow three patterns based on return type:</p> <ul> <li><strong>In-place (<code>None</code>):</strong> Modify the source image directly</li> <li><strong>New image (<code>Image</code>):</strong> Always return a new image</li> <li><strong>Conditional (<code>Image | None</code>):</strong> Return new image OR modify buffer if provided</li> </ul> <hr> <h3 id=loading-and-saving>Loading and Saving</h3> <p>Load and save images with automatic format conversion between uint8 and float32.</p> <p>→ <a href=io/ >Full details: IO</a></p> <hr> <h2 id=operations>Operations</h2> <h3 id=fill>Fill</h3> <p>Fill images with colors, gradients, and patterns.</p> <p>→ <a href=fill/ >Full details: Fill</a></p> <hr> <h3 id=blend>Blend</h3> <p>Layer compositing with multiple blend modes.</p> <p>→ <a href=blend/ >Full details: Blend</a></p> <hr> <h3 id=filter>Filter</h3> <p>Gaussian Blur, Sharpen, Sepia, Invert, Threshold, Solarize...</p> <p>→ <a href=filter/ >Full details: Filter</a></p> <hr> <h3 id=effect>Effect</h3> <p>Design effects like shadows, corners, strokes...</p> <p>→ <a href=effect/ >Full details: Effect</a></p> <hr> <h3 id=resize>Resize</h3> <p>Scale images with various interpolation algorithms.</p> <p>→ <a href=resize/ >Full details: Resize</a></p> <hr> <h3 id=transform>Transform</h3> <p>Geometric transformations: rotate, flip, crop...</p> <p>→ <a href=transform/ >Full details: Transform</a></p> <hr> <h3 id=adjust>Adjust</h3> <p>Color adjustments: brightness, contrast, saturation, gamma...</p> <p>→ <a href=adjust/ >Full details: Adjust</a></p> <hr> <h2 id=color-format>Color Format</h2> <p>All colors use <strong>float32 RGBA</strong> (0.0 to 1.0): <code>(R, G, B, Alpha)</code></p> <p>Converting from uint8: <code>(255, 128, 64)</code> → <code>(1.0, 0.501, 0.251, 1.0)</code></p> <hr> <h2 id=advanced-buffer-reuse>Advanced: Buffer Reuse</h2> <p>Reuse buffers in batch processing to avoid memory allocations. Buffers can also be dynamically resized within their capacity without reallocation.</p> <p>→ <a href=image/#buffer-reuse>Full details: Image &amp; Memory</a></p> </article> </div> <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script> </div> <button type=button class="md-top md-icon" data-md-component=top hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg> Back to top </button> </main> <footer class=md-footer> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class=md-copyright> Made with <a href=https://squidfunk.github.io/mkdocs-material/ target=_blank rel=noopener> Material for MkDocs </a> </div> <div class=md-social> <a href=https://github.com/offerrall/pyimagecuda target=_blank rel=noopener title=github.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 512 512"><!-- Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg> </a> </div> </div> </div> </footer> </div> <div class=md-dialog data-md-component=dialog> <div class="md-dialog__inner md-typeset"></div> </div> <script id=__config type=application/json>{"annotate": null, "base": ".", "features": ["navigation.tabs", "navigation.sections", "navigation.indexes", "content.code.copy", "content.code.annotate", "toc.integrate", "navigation.tabs.sticky", "navigation.top"], "search": "assets/javascripts/workers/search.7a47a382.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script> <script src=assets/javascripts/bundle.e71a0d61.min.js></script> </body> </html>

0 commit comments

Comments
 (0)