MemeFactory.Core
                             
                            
                                1.0.0-alpha.35
                            
                        
                    
        
        
                                This is a prerelease version of MemeFactory.Core.
                            
    
    
        
        
                                There is a newer prerelease version of this package available.
                                
See the version list below for details.
                    See the version list below for details.
dotnet add package MemeFactory.Core --version 1.0.0-alpha.35
NuGet\Install-Package MemeFactory.Core -Version 1.0.0-alpha.35
        
        
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
                    
    
    <PackageReference Include="MemeFactory.Core" Version="1.0.0-alpha.35" />
        
        
For projects that support PackageReference, copy this XML node into the project file to reference the package.
                    
    
    <PackageVersion Include="MemeFactory.Core" Version="1.0.0-alpha.35" />
<PackageReference Include="MemeFactory.Core" />
        
        
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
                    
    
    paket add MemeFactory.Core --version 1.0.0-alpha.35
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    #r "nuget: MemeFactory.Core, 1.0.0-alpha.35"
        
        
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
                    
    
    #:package MemeFactory.Core@1.0.0-alpha.35
        
        
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
                    
    
    #addin nuget:?package=MemeFactory.Core&version=1.0.0-alpha.35&prerelease
#tool nuget:?package=MemeFactory.Core&version=1.0.0-alpha.35&prerelease
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    MemeFactory
A meme processing utility based on ImageSharp.
Install
<PackageReference Include="MemeFactory.Core" Version="1.0.0-alpha.28" />
Design
sequenceDiagram
    participant Service
    participant Sequence as Sequence
    participant Processor as AsyncLinq Operations
    Service ->> Service: prepare images
    Service ->> Sequence: convert Image to Sequence
    Sequence ->> Service: IAsyncEnumerable<Frame>
    Service ->> Processor: transform frames
    Processor ->> Processor: (optional) draw other image into frame
    Processor ->> Processor: (optional) expand frame
    Processor ->> Processor: (optional) or redraw every frame using AI!
    Processor ->> Service: final IAsyncEnumerable<Frame>
    Service ->> Sequence: Compose frame sequence to Image
    Sequence ->> Service: Image/Encoder/File Extensions
Usage
Matting image using AI
<PackageReference Include="MemeFactory.Matting.Onnx" Version="1.0.0-alpha.28" />
IAsyncEnumerable<Frame> frames;
var model = new RmbgConfiguration("your_model_path");
using var result = frames.ApplyModel(model).AutoComposeAsync();
await result.Image.SaveAsync("result." + result.Extension, result.Encoder);
See also: RMBG-2.0 / ModNet / PaddleSeg/Matting
Note: Reference at least one ONNX runtime native package in your project.
Built-in Processors
| Method | Description | 
|---|---|
| DuplicateFrame | Duplicate every frame in sequence, e.g. 1234to1122334 | 
| Loop | Loop the entire sequence, e.g. 1234to12341234 | 
| FrameBasedZipSequence | Merge two sequences frame by frame | 
| AutoComposeAsync | Evaluate all processors and generate the final image, and the output format is determined by the count of the final sequence | 
| EachFrame | Apply a FrameProcessor to every frame | 
| Rotation | Rotate the sequence frame by frame while incrementing the angle each frame | 
| Sliding | Slide sequence from edge to edge | 
| TimelineSliding | Not only sliding the canvas, also including the timeline | 
| Flip | Flip every frame | 
| Resize | Resize every frame | 
| BackgroundColor | Replace the background color of every frame | 
| Glow | Apply a radial glow to every frame | 
| Vignette | Apply a radial vignette to every frame | 
| BokehBlur | Apply a Bokeh blur filter to every frame | 
| GaussianBlur | Apply a Gaussian blur filter to every frame | 
| GaussianSharpen | Apply a Gaussian sharpen filter to every frame | 
| BlackWhite | Apply a black white filter to every frame | 
| Invert | Apply a invert color filter to every frame | 
| Kodachrome | Apply a Kodachrome filter to every frame | 
| Polaroid | Apply a Polaroid filter to every frame | 
| Pixelate | Apply a pixelate filter to every frame | 
| Contrast | Adjust the contrast of every frame | 
| Opacity | Adjust the opacity of every frame | 
| Hue | Adjust the hue of every frame | 
| Saturate | Adjust the saturate of every frame | 
| Lightness | Adjust the lightness of every frame | 
| Brightness | Adjust the rightness of every frame | 
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
        
        Compatible target framework(s)
    
    
        
        Included target framework(s) (in package)
    
    Learn more about Target Frameworks and .NET Standard.
- 
                                                    net9.0- MemeFactory.Core.Abstraction (>= 1.0.0-alpha.33)
- SixLabors.ImageSharp (>= 3.1.7)
- System.Linq.Async (>= 6.0.1)
 
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MemeFactory.Core:
| Package | Downloads | 
|---|---|
| MemeFactory.Ffmpeg A meme processing utility that provides many tools to generate meme. | 
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | 
|---|---|---|
| 1.0.0-alpha.47 | 115 | 3/21/2025 | 
| 1.0.0-alpha.46 | 140 | 3/19/2025 | 
| 1.0.0-alpha.45 | 144 | 3/19/2025 | 
| 1.0.0-alpha.44 | 140 | 3/19/2025 | 
| 1.0.0-alpha.43 | 135 | 3/19/2025 | 
| 1.0.0-alpha.42 | 139 | 3/19/2025 | 
| 1.0.0-alpha.41 | 135 | 3/19/2025 | 
| 1.0.0-alpha.40 | 138 | 3/19/2025 | 
| 1.0.0-alpha.39 | 132 | 3/18/2025 | 
| 1.0.0-alpha.38 | 138 | 3/18/2025 | 
| 1.0.0-alpha.36 | 136 | 3/17/2025 | 
| 1.0.0-alpha.35 | 134 | 3/17/2025 | 
| 1.0.0-alpha.34 | 135 | 3/17/2025 | 
| 1.0.0-alpha.32 | 130 | 3/17/2025 | 
| 1.0.0-alpha.31 | 135 | 3/17/2025 | 
| 1.0.0-alpha.30 | 142 | 3/16/2025 | 
| 1.0.0-alpha.29 | 136 | 3/16/2025 | 
| 1.0.0-alpha.28 | 139 | 3/16/2025 | 
| 1.0.0-alpha.27 | 78 | 3/15/2025 | 
| 1.0.0-alpha.26 | 67 | 3/15/2025 | 
| 1.0.0-alpha.24 | 68 | 3/14/2025 | 
| 1.0.0-alpha.23 | 71 | 3/14/2025 | 
| 1.0.0-alpha.22 | 71 | 3/14/2025 | 
| 1.0.0-alpha.21 | 71 | 3/14/2025 | 
| 1.0.0-alpha.20 | 71 | 3/14/2025 | 
| 1.0.0-alpha.19 | 89 | 3/14/2025 | 
| 1.0.0-alpha.18 | 95 | 3/14/2025 | 
| 1.0.0-alpha.17 | 122 | 3/14/2025 | 
| 1.0.0-alpha.16 | 117 | 3/14/2025 | 
| 1.0.0-alpha.14 | 137 | 3/13/2025 | 
| 1.0.0-alpha.13 | 153 | 3/12/2025 | 
| 1.0.0-alpha.12 | 155 | 3/12/2025 | 
| 1.0.0-alpha.11 | 145 | 3/12/2025 | 
| 1.0.0-alpha.10 | 137 | 3/12/2025 | 
| 1.0.0-alpha.9 | 150 | 3/12/2025 | 
| 1.0.0-alpha.8 | 154 | 3/12/2025 | 
| 1.0.0-alpha.7 | 152 | 3/12/2025 | 
| 1.0.0-alpha.6 | 149 | 3/12/2025 | 
| 1.0.0-alpha.5 | 148 | 3/12/2025 | 
| 1.0.0-alpha.4 | 152 | 3/12/2025 | 
| 1.0.0-alpha.3 | 142 | 3/12/2025 | 
| 1.0.0-alpha.1 | 157 | 3/11/2025 |