dlemstra / dlemstra/Magick.NET

GPU support

Open
#1,949 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4k
Forks
451
Avg merge
11h 55m
Merged PRs (30d)
3

Description

### Is your feature request related to a problem? Please describe

I'm trying to implement a simple CDN that supports resizing images. Some parameters (ie. resizing to 2048x2048 for GIFs) causes long stalls (sometimes minute+).
I know GPU support was removed many versions ago, but would be useful on my development machine ,as testing causes my system to run out of memory as the process allocates 16GB+ of memory. (This is with multithreading, Magick.NET-Q16-HDRI-OpenMP-x64)

I feel like I'm using the right version of Magick.NET, as I intend to support HDR images and the likes.

### Describe the solution you'd like

Way to optionally enable GPU acceleration for a given operation.

### Describe alternatives you've considered

Multithreading (already in use), or avoiding it to reduce memory pressure (adds minutes to processing time).

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.