WriteableBitmapEx | Collection of extension methods for the XAML WriteableBitmap | Learning library

 by   reneschulte C# Version: WBX_NuGet_1_6_2 License: MIT

kandi X-RAY | WriteableBitmapEx Summary

kandi X-RAY | WriteableBitmapEx Summary

WriteableBitmapEx is a C# library typically used in Tutorial, Learning applications. WriteableBitmapEx has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

The WriteableBitmapEx library is a collection of extension methods for the WriteableBitmap. The WriteableBitmap class is available for all XAML flavors including WPF, Windows 10 UWP, Windows Phone, WinRT Windows Store XAML and Silverlight. It supports the .NET Framework and .NET Core 3 and was even ported to Windows Embedded. WriteableBitmapEx allows the direct manipulation of a bitmap and can be used for image manipulation, to generate fast procedural images by drawing directly to a bitmap and more. The WriteableBitmap API is very minimalistic and there's only the raw Pixels array for such operations. The WriteableBitmapEx library tries to compensate that with extensions methods that are easy to use like built in methods and offer GDI+ like functionality. The library extends the WriteableBitmap class with elementary and fast (2D drawing) functionality, conversion methods and functions to combine (blit) WriteableBitmaps. The extension methods are grouped into different C# files using a partial class approach. It is possible to include just a few methods by using the specific source code files directly or the full functionality via the built binaries. The latest binaries are available as NuGet package. Please use the GitHub Issues functionality to add new issues which are not already reported.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              WriteableBitmapEx has a low active ecosystem.
              It has 481 star(s) with 122 fork(s). There are 40 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 5 open issues and 51 have been closed. On average issues are closed in 278 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of WriteableBitmapEx is WBX_NuGet_1_6_2

            kandi-Quality Quality

              WriteableBitmapEx has 0 bugs and 0 code smells.

            kandi-Security Security

              WriteableBitmapEx has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              WriteableBitmapEx code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              WriteableBitmapEx is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              WriteableBitmapEx releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              WriteableBitmapEx saves you 169 person hours of effort in developing the same functionality from scratch.
              It has 418 lines of code, 0 functions and 119 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WriteableBitmapEx
            Get all kandi verified functions for this library.

            WriteableBitmapEx Key Features

            No Key Features are available at this moment for WriteableBitmapEx.

            WriteableBitmapEx Examples and Code Snippets

            No Code Snippets are available at this moment for WriteableBitmapEx.

            Community Discussions

            QUESTION

            WriteableBitmap extension method FillEllipse is creating artifacts on edges of the image
            Asked 2020-Jan-13 at 16:11

            I am using WriteableBitmap with WriteableBitmapEx, specifically FillEllipse method and when I call FillEllipse where portion of the ellipse is drawn outside the image, it causes an artifact on edge of the image.

            Some code for illustration:

            ...

            ANSWER

            Answered 2020-Jan-13 at 16:11

            Also see this issue on the GitHub project site: https://github.com/reneschulte/WriteableBitmapEx/issues/48

            I will take a look when I get a chance.

            [Update 01/13/2020] This is fixed in the latest on GitHub. The NuGet pack will get updated as well. See v1.6.5

            Source https://stackoverflow.com/questions/58710348

            QUESTION

            WriteableBitmapEx alpha blend color issue
            Asked 2019-Apr-17 at 06:08

            I'm trying to use WriteableBitmap with the WriteableBitmapEx extension methods. The code sample is below along with two screenshots. The first screenshot is what my code generates and the second what I'm expecting (hand drawn via Paint.Net).

            Am I using WriteableBitmapEx incorrectly, misunderstanding how it works or is it a bug?

            This is on .Net 4.6.1 and WriteableBitmapEx 1.6.2.

            ...

            ANSWER

            Answered 2019-Apr-17 at 06:08

            The WriteableBitmap uses pre-multiplied alpha internally, so when you convert a color you have to take that into account and multiply your color channels with alpha.

            You can simply use the ConvertColor method that comes with WBX or roll your own similar to this:

            Source https://stackoverflow.com/questions/55711208

            QUESTION

            Writing text on a WriteableBitmap
            Asked 2017-Jul-25 at 09:26

            I have searched around and found that most of the answers convert a WriteableBitmap to a System.Drawing.Bitmap. I am currently thinking of using WriteableBitmapEx's Blitz() function to overlay a bitmap with text onto the existing bitmap, but I don't really find functions that return WriteableBitmap.

            Is there a easy way to draw text?

            ...

            ANSWER

            Answered 2017-Jul-25 at 09:26

            I managed to use the WriteableBitmapEx DrawString() method to achieve this directly.

            Unfortunately it is not inside the Nuget Packages so it has to be compiled from the source of another project:

            https://writeablebitmapex.codeplex.com/discussions/579148

            https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/LetterGlyphTool.cs

            Source https://stackoverflow.com/questions/45297982

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install WriteableBitmapEx

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/reneschulte/WriteableBitmapEx.git

          • CLI

            gh repo clone reneschulte/WriteableBitmapEx

          • sshUrl

            git@github.com:reneschulte/WriteableBitmapEx.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link