Giter Club home page Giter Club logo

aforge's Introduction

Portable AForge.NET logo

Portable AForge.NET Framework

AForge.NET Framework: Copyright (c) 2006-2013 AForge.NET; licensed under Lesser General Public License (LGPL) version 3.
Shim.Drawing class libraries: Copyright (c) 2013-2016 Anders Gustafsson, Cureos AB; licensed under General Public License (GPL) version 3.

This project is a fork of Andrew Kirillow's original AForge.NET Framework project. For general information and tutorials, see here.

The repository currently provides:

  • Portable Class Libraries for base and imaging functionality functionality (Core, Math, Genetic, Fuzzy, MachineLearning, Neuro, Imaging, Imaging.Formats, Vision),
  • Portable Class Library Shim.Drawing to substitute .NET System.Drawing types not covered by PCL, and
  • Target specific Shim.Drawing libraries for .NET Framework 4.5 and higher.

The Portable AForge.NET class libraries depend on the PCL Shim and/or Shim.Drawing assemblies. In applications however, the target specific Shim and Shim.Drawing assemblies should be referenced, to ensure that the target specific version of each type is used.

Installation

The preferred method for using Portable AForge.NET in your application is to download the required packages, including dependencies, from NuGet. Open the NuGet Package Manager in Visual Studio and search for portable.aforge to obtain a list of the currently available packages on NuGet.

Usage

WriteableBitmap:s provide input and output to the imaging functionality in the WPF and Windows Phone Silverlight libraries. The target specific Shim.Drawing assembly incorporates explicit cast operators between WriteableBitmap and System.Drawing.Bitmap.

All image processing is performed on the mock System.Drawing.Bitmap class, WriteableBitmap objects should only be used as initial input to and final output from the image processing.

When using the WPF Shim.Drawing assembly, the System.Drawing assembly from .NET Framework cannot be referenced since this would lead to type name collisions. If there is a need to reference the real System.Drawing assembly, you are recommended to use the original AForge.NET Framework libraries and use WPF hosting controls to display image processing results instead.

This same approach can be applied in WPF and Windows Phone Silverlight applications.

// Use explicit operator to convert from WriteableBitmap to Bitmap
Bitmap bitmap = (Bitmap)aWriteableBitmapObject;

// Apply one or more filter functions on the Bitmap object
var filter1 = AForge.Imaging.Filters.Grayscale.CommonAlgorithms.RMY;
bitmap = filter1.Apply(bitmap);
var filter2 = new AForge.Imaging.Filters.CannyEdgeDetector();
filter2.ApplyInPlace(bitmap);

// Use explicit operator to convert back from Bitmap to WriteableBitmap
aWriteableBitmapObject = (WriteableBitmap)bitmap;

Building the libraries

The preferred method for including Portable AForge.NET in your application is NuGet. However, if you prefer to build the libraries by yourself, follow these guidelines:

  • You will need to prepare a strong name key, (.snk) file Shim.Drawing.snk and place this file in the same folder as the main Portable AForge folder, for example the Projects folder.
  • Then, open the Portable Build All.sln solution file located in the Sources folder and build the entire solution or selected projects. Visual Studio 2012 Professional or higher is required.

IMPORTANT!

  • PCL projects cannot be built in Express versions of Visual Studio prior to 2013 Update 2.
  • To be able to reference the target specific (WP8, .NET/WPF) Shim.Drawing assemblies, all underlying assemblies need to have a strong name, i.e. be signed.

Notes on commercial use

The Shim.Drawing assemblies that are required to build the Portable Class Library version of AForge.NET Framework are published under the General Public License, version 3.

There are Shim and Shim.Drawing assemblies available for Xamarin.Android and Xamarin.iOS, making it possible to incorporate Portable AForge assemblies in Android and iPhone or iPad apps. See for example this blog post.

Shim Drawing is available for evaluation from NuGet for all supported platforms. For non-evaluation copies of Shim Drawing, please contact Cureos.

Please note that AForge.NET Framework itself is licensed under LGPL version 3, and the copyright holder states the following on the AForge.NET Framework web site:

Regarding collaboration, contribution, offers, partnering, custom work/consulting, none GPL/LGPL licensing, etc., please, contact using the next e-mail: aforge.net [at] gmail {dot} com

aforge's People

Contributors

anders9ustafsson avatar andrewkirillov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aforge's Issues

Windows phone 8

Hello,

I am reading at many places that this implementation supports windows phone 8. I want to train a neural network in desktop (using my training data set) and then use your implementation to run on Windows phone 8. Can you please give me brief headstart on where should I start?

I have a C++ windows phone 8 application. Whats the procedure to integrate this NN implementation into my app? I have been searching for something like this since long, as many of the implementations out there cant be targeted to windows phone 8.

Please help me.

Windows App Certification Kit Error

Hi
Today execute ACK my app.

This is result

Supported API test
FAILED Supported APIs
•Error Found: The supported APIs test detected the following errors:
◦API memcpy in ntdll.dll is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API memset in ntdll.dll is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormat in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapPalette in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.Permissions.SecurityPermissionAttribute in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.Permissions.SecurityAction in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Int32Rect in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapPalettes in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.UnverifiableCodeAttribute in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.Permissions.SecurityPermissionAttribute.#ctor(System.Security.Permissions.SecurityAction) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Pbgra32 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Bgra32 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Bgr24 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Bgr32 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Bgr555 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Bgr565 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Indexed1 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Indexed4 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Indexed8 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Gray16 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Rgb48 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Prgba64 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Rgba64 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.String.Format(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Int32,System.Int32,System.Double,System.Double,System.Windows.Media.PixelFormat,System.Windows.Media.Imaging.BitmapPalette) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Int32Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32) in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.WritePixels(System.Windows.Int32Rect,System.IntPtr,System.Int32,System.Int32) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelWidth in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelHeight in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_Format in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.CopyPixels(System.Windows.Int32Rect,System.IntPtr,System.Int32,System.Int32) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.#ctor in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_StreamSource(System.IO.Stream) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.PixelFormat.op_Equality(System.Windows.Media.PixelFormat,System.Windows.Media.PixelFormat) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapPalettes.get_BlackAndWhite in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapPalettes.get_Gray16 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapPalettes.get_Gray256 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.FromArgb(System.Byte,System.Byte,System.Byte,System.Byte) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_A in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_R in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_G in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_B in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.UnverifiableCodeAttribute.#ctor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Point in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Colors in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Size in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Application in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Resources.StreamResourceInfo in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapCreateOptions in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelWidth in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelHeight in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.get_Pixels in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Int32,System.Int32) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.get_X in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.get_Y in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.get_Width in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.get_Height in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color.get_A in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color.get_R in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color.get_G in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color.get_B in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color.FromArgb(System.Byte,System.Byte,System.Byte,System.Byte) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Colors.get_White in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Size.#ctor(System.Double,System.Double) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.#ctor(System.Windows.Point,System.Windows.Size) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.#ctor(System.Double,System.Double,System.Double,System.Double) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.Intersect(System.Windows.Rect) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Rect.get_IsEmpty in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Color.op_Inequality(System.Windows.Media.Color,System.Windows.Media.Color) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Application.GetResourceStream(System.Uri) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Resources.StreamResourceInfo.get_Stream in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.#ctor in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.SetSource(System.IO.Stream) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_CreateOptions(System.Windows.Media.Imaging.BitmapCreateOptions) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Windows.Media.Imaging.BitmapSource) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_UriSource(System.Uri) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhone.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhoneXnaDependant.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhoneXnaDependant.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelWidth in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhoneXnaDependant.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelHeight in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapExWinPhoneXnaDependant.dll calls this API.
◦API memcpy in msvcrt.dll is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API memset in msvcrt.dll is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Point in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Security.Permissions.SecurityPermissionAttribute in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Security.Permissions.SecurityAction in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Colors in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Size in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Application in PRESENTATIONFRAMEWORK, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Resources.StreamResourceInfo in PRESENTATIONFRAMEWORK, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.PixelFormat in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.PixelFormats in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Runtime.TargetedPatchingOptOutAttribute in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Int32Rect in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapPalette in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.FormatConvertedBitmap in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Security.UnverifiableCodeAttribute in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Security.Permissions.SecurityPermissionAttribute.#ctor(System.Security.Permissions.SecurityAction) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color.get_A in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color.get_R in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color.get_G in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color.get_B in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color.FromArgb(System.Byte,System.Byte,System.Byte,System.Byte) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Colors.get_White in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.get_Width in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.get_Height in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Size.#ctor(System.Double,System.Double) in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.#ctor(System.Windows.Point,System.Windows.Size) in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.#ctor(System.Double,System.Double,System.Double,System.Double) in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.Intersect(System.Windows.Rect) in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.get_IsEmpty in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.get_X in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Rect.get_Y in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Color.op_Inequality(System.Windows.Media.Color,System.Windows.Media.Color) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Application.GetResourceStream(System.Uri) in PRESENTATIONFRAMEWORK, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Resources.StreamResourceInfo.get_Stream in PRESENTATIONFRAMEWORK, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.#ctor in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_StreamSource(System.IO.Stream) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Windows.Media.Imaging.BitmapSource) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_UriSource(System.Uri) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.Clone in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelWidth in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelHeight in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_Format in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.PixelFormats.get_Pbgra32 in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.PixelFormat.op_Inequality(System.Windows.Media.PixelFormat,System.Windows.Media.PixelFormat) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.Lock in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.get_BackBuffer in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Runtime.TargetedPatchingOptOutAttribute.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.get_BackBufferStride in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Int32Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32) in WINDOWSBASE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.AddDirtyRect(System.Windows.Int32Rect) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.Unlock in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Int32,System.Int32,System.Double,System.Double,System.Windows.Media.PixelFormat,System.Windows.Media.Imaging.BitmapPalette) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.PixelFormat.op_Equality(System.Windows.Media.PixelFormat,System.Windows.Media.PixelFormat) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.FormatConvertedBitmap.#ctor in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.FormatConvertedBitmap.BeginInit in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.FormatConvertedBitmap.set_Source(System.Windows.Media.Imaging.BitmapSource) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.FormatConvertedBitmap.set_DestinationFormat(System.Windows.Media.PixelFormat) in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.FormatConvertedBitmap.EndInit in PRESENTATIONCORE, PUBLICKEYTOKEN=31BF3856AD364E35 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Security.UnverifiableCodeAttribute.#ctor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. WriteableBitmapEx.Wpf.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Point in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Colors in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Size in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Application in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Resources.StreamResourceInfo in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapCreateOptions in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelWidth in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelHeight in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.get_Pixels in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Int32,System.Int32) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.get_X in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.get_Y in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.get_Width in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.get_Height in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color.get_A in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color.get_R in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color.get_G in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color.get_B in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color.FromArgb(System.Byte,System.Byte,System.Byte,System.Byte) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Colors.get_White in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Size.#ctor(System.Double,System.Double) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.#ctor(System.Windows.Point,System.Windows.Size) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.#ctor(System.Double,System.Double,System.Double,System.Double) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.Intersect(System.Windows.Rect) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Rect.get_IsEmpty in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Color.op_Inequality(System.Windows.Media.Color,System.Windows.Media.Color) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Application.GetResourceStream(System.Uri) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Resources.StreamResourceInfo.get_Stream in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.#ctor in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.SetSource(System.IO.Stream) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_CreateOptions(System.Windows.Media.Imaging.BitmapCreateOptions) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Windows.Media.Imaging.BitmapSource) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_UriSource(System.Uri) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. WriteableBitmapEx.dll calls this API.
◦API System.IO.FileMode in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.dll calls this API.
◦API System.IO.FileAccess in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.dll calls this API.
◦API System.IO.FileShare in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.dll calls this API.
◦API System.DBNull in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.dll calls this API.
◦API System.DBNull.Value in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.Permissions.SecurityPermissionAttribute in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.Permissions.SecurityAction in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapCreateOptions in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.UnverifiableCodeAttribute in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.Permissions.SecurityPermissionAttribute.#ctor(System.Security.Permissions.SecurityAction) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.String.Format(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.#ctor in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.SetSource(System.IO.Stream) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_CreateOptions(System.Windows.Media.Imaging.BitmapCreateOptions) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Windows.Media.Imaging.BitmapSource) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapImage.set_UriSource(System.Uri) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.#ctor(System.Int32,System.Int32) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.WriteableBitmap.get_Pixels in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelWidth in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Imaging.BitmapSource.get_PixelHeight in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.FromArgb(System.Byte,System.Byte,System.Byte,System.Byte) in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_A in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_R in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_G in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Windows.Media.Color.get_B in SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.
◦API System.Security.UnverifiableCodeAttribute.#ctor in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Shim.System.Drawing.dll calls this API.

•Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements

•How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information:

What should I do?
Windows 8.1 store app, Kit version 3.3
86x, 64x packages make

error1

I can't change WriteableBitmap to Bitmap in Windows 8.1 store app

Hi
Search today and yesterday, try it but, it is all that failed to work.

This is store app defind class
public sealed class WriteableBitmap : BitmapSource
{
// Summary:
// Initializes a new instance of the WriteableBitmap class.
//
// Parameters:
// pixelWidth:
// The width of the bitmap in pixels.
//
// pixelHeight:
// The height of the bitmap in pixels.
public WriteableBitmap(int pixelWidth, int pixelHeight);

    // Summary:
    //     Gets an access for the direct buffer where each pixel of the WriteableBitmap
    //     is written to.
    //
    // Returns:
    //     A reference to the pixel buffer.
    public IBuffer PixelBuffer { get; }

    // Summary:
    //     Requests a draw or redraw of the entire bitmap.
    public void Invalidate();
}

I can't find this method
public WriteableBitmap(BitmapSource source);

How can i convert WriteableBitmap to Bitmp?
Thank you

DrawLine bug

Hi
Developing a Windows 8 store app.
DrawLine method, there is a problem.

        foreach (var blob in completeBolbs)
        {
            Graphics g = Graphics.FromImage(workedImage);
            var p1 = new Point(500, 100);       
            var p2 = new Point(1000, 100);      
            var p3 = new Point(500, 500);       
            var p4 = new Point(1000, 500);      
            Pen pen1 = new Pen(Windows.UI.Colors.LightSkyBlue);
            Pen pen2 = new Pen(Windows.UI.Colors.Red);
            g.DrawLine(pen1, p1, p2);
            g.DrawLine(pen2, p3, p4);
            g.DrawEllipse(pen1, 500, 100, 20, 20);
            g.DrawEllipse(pen1, 1000, 100, 20, 20);
            g.DrawEllipse(pen2, 500, 500, 20, 20);
            g.DrawEllipse(pen2, 1000, 500, 20, 20);
            g.Dispose();
        }

drawline

DrawEllipse drawn normal position. However, DrawLine drawn differently.
Please check it.

Thank you

PS. Pen thickness can be entered in there?

Windows Phone 8

Hello.
I have two problems with solution

  1. Error "System.Runtime.InteropServices.GuidAttribute" exist in "AForge.System.dll", and in "c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.0\mscorlib.dll"
  2. Error "System.Windows.Media.Imaging.WriteableBitmap" implicit convert to "System.Drawing.Bitmap" impossible
    Please tell me what could be the reason?

shapeChecker.IsConvexPolygon: long thin rectangle is not a convex polygon

executing following test fails:
It's about a long thin rectangle 50 high and 1000 wide.

2 bugs:

  • it is not recognized as convex
  • is only has 3 corners instead of 4.
 public class SimpleShapeCheckerTest
{
        private List<IntPoint> rectangledTriangle = new List<IntPoint>();
        public SimpleShapeCheckerTest()
        {
            longThinRectangle.Add(new IntPoint(0, 0)); //corner
            longThinRectangle.Add(new IntPoint(20, 0));
            longThinRectangle.Add(new IntPoint(40, 0));
            longThinRectangle.Add(new IntPoint(50, 0)); //corner
            longThinRectangle.Add(new IntPoint(50, 100));
            longThinRectangle.Add(new IntPoint(50, 500));
            longThinRectangle.Add(new IntPoint(50, 1000)); // corner
            longThinRectangle.Add(new IntPoint(25, 1000));
            longThinRectangle.Add(new IntPoint(0, 1000));
            longThinRectangle.Add(new IntPoint(0, 500));
         }

         [TestMethod]
        public void IsConvexPolygon()
        {
            List<IntPoint> corners;
            Assert.AreEqual(true, shapeChecker.IsConvexPolygon(rectangle, out corners));
            Assert.AreEqual(4, corners.Count);
        }

Video.FFMPEG for Windows Store apps

(This is a direct copy of Issue 379 from the AForge Google Code repository.)

I need to use Video.FFMPEG in windows store apps please help me how could I use it in there or if any update on it.

I have seen some portable solutions for AFORGE on internet but there is nothing regarding this specific "Video.FFMPEG". Please see if you guys can help me with this.

Bitmap.FromStream hangs

Hello,

I want to create Bitmap from MemoryStream. But whatever i use from FileStream or MemoryStream, I got hang after calling Bitmap.FromStream.

MemoryStream ms = new MemoryStream();
new FileStream("/Users/buraktamturk/test.jpg", FileMode.Open).CopyTo(ms);
ms.Seek(0, SeekOrigin.Begin);

Bitmap b = (Bitmap)Bitmap.FromStream(ms);

OS: OS X
Runtime: mono or dnvm (whichever is right)

I think I have a problem with integration, cause when i try it on Windows. I get following exception instead of hang.

BitmapImage has not been initialized.  Call the BeginInit method, set the appropriate properties, and then call the EndInit method.

Thanks,
Burak

Edit: Not only MemoryStream, but also FileStream.

Cannot pass Windows Phone 8.1 WinRT app certification

I have just tried the NuGet package by including it in an app, but without using any function. Windows App Certification Kit fails to certify the package built with this. The error message is the following:

Error Found: The supported APIs test detected the following errors:
◦This API is not supported for this application type - Api=memcpy. Module=ntdll.dll. File=AForge.dll.
◦This API is not supported for this application type - Api=memset. Module=ntdll.dll. File=AForge.dll.

System.NullReferenceException when cloning a bitmap

Hi Anders,

Sorry for my annoyance, but when I try to clone a Bitmap, from time to time I get a System.NullReferenceException exception:

at (wrapper unknown) ImagePixelEnumerator.Helpers.Pixels.NonIndexed.PixelDataPArgb8888:PtrToStructure (intptr,object)
at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
at ImagePixelEnumerator.Helpers.Pixel.ReadRawData (IntPtr imagePointer) [0x00000] in d:\Users\Anders\Documents\Visual Studio 2013\Projects\aforge\Sources\System.Drawing\Helpers\Pixel.cs:272
at ImagePixelEnumerator.Helpers.ImageBuffer.ReadPixel (ImagePixelEnumerator.Helpers.Pixel pixel, System.Byte[] buffer) [0x0001f] in d:\Users\Anders\Documents\Visual Studio 2013\Projects\aforge\Sources\System.Drawing\Helpers\ImageBuffer.cs:211
at ImagePixelEnumerator.Helpers.ImageBuffer+<>c__DisplayClass5.b__4 (ImagePixelEnumerator.Helpers.LineTask lineTask) [0x00075] in d:\Users\Anders\Documents\Visual Studio 2013\Projects\aforge\Sources\System.Drawing\Helpers\ImageBuffer.cs:492
at System.Threading.Tasks.Parallel+c__AnonStorey52[TSource,TLocal].<>m__0 (Int32 i) [0x00000] in /Users/builder/data/lanes/3415/7db2aac3/source/mono/external/referencesource/mscorlib/system/threading/Tasks/Parallel.cs:2318 at System.Threading.Tasks.Parallel+<ForWorker>c__AnonStorey31[TLocal].<>m__1 () [0x000ed] in /Users/builder/data/lanes/3415/7db2aac3/source/mono/external/referencesource/mscorlib/system/threading/Tasks/Parallel.cs:1204

The code is following:

public Bitmap ProcessImage(Bitmap src)
{
if (src == null)
{
return null;
}

 Bitmap image = null;

 try
 {
     image = src.Clone(pixelFormat: PixelFormat.Format24bppRgb); <---- the code fails here
 }
 catch (Exception ex) {
            return null;
 }
...

}

The project is a portable library, I get this error when using it in Droid project. First time when I call this code everything works fine, but then is I call it subsequently, at one step the code just crashes with the exception.

Thank you,
Andrew

i can't use aforge.Video.Vfw to create video from some sequences of single images

Hey sir,
i want to create stream (avi video) from some bitmaps images but i failed . this is my code

        // instantiate AVI writer, use WMV3 codec
        AVIWriter writer = new AVIWriter();
        writer.FrameRate = 1;
        // create new AVI file and open it
        writer.Open("HESHAM.avi",256, 256);
        // create frame image

       // var cubit = new AForge.Imaging.Filters.ResizeBilinear(320, 240);
        string[] files = Directory.GetFiles(Server.MapPath("~/pics/"));

        int index = 0;
        int failed = 0;
        foreach (var item in files)
        {
            index++;
            try
            {
               Bitmap image = System.Drawing.Image.FromFile(item) as Bitmap;
                //image = cubit.Apply(image);

                for (int i = 0; i < 10; i++)
                {
                    writer.AddFrame(image);
                }
            }
            catch
            {
                failed++;
            }
            Response.Write(index + " of " + files.Length + ". Failed: " + failed);
        }
        writer.Close();
    }

i don't know here is the wrong in this . please help me in this . thanks in advance

Red cross on output image in UWP app

To be brief, I'm trying to implement some motion detection algorithm and in my case I'm working on UWP using portable version of AForge library to processing image. Avoiding this issue, I have problem with conversion SoftwareBitmap object (that I get from MediaFrameReader) to Bitmap object (and vice versa) that I use in my code associated with motion detection. In consequence of this conversion, I get proper image with big red cross in the foreground. Code below:

private async void FrameArrived(MediaFrameReader sender, MediaFrameArrivedEventArgs args)
{
    var frame = sender.TryAcquireLatestFrame();
    if (frame != null && !_detectingMotion)
    {
        SoftwareBitmap aForgeInputBitmap = null;
        var inputBitmap = frame.VideoMediaFrame?.SoftwareBitmap;
         if (inputBitmap != null)
         {
             _detectingMotion = true;
             //The XAML Image control can only display images in BRGA8 format with premultiplied or no alpha
             if (inputBitmap.BitmapPixelFormat == BitmapPixelFormat.Bgra8
                 && inputBitmap.BitmapAlphaMode == BitmapAlphaMode.Premultiplied)
             {
                 aForgeInputBitmap = SoftwareBitmap.Copy(inputBitmap);
             }
             else
             {
                 aForgeInputBitmap = SoftwareBitmap.Convert(inputBitmap, BitmapPixelFormat.Bgra8, BitmapAlphaMode.Ignore);
             }
             await _aForgeHelper.MoveBackgrounds(aForgeInputBitmap);
             SoftwareBitmap aForgeOutputBitmap = await _aForgeHelper.DetectMotion();
             _frameRenderer.PresentSoftwareBitmap(aForgeOutputBitmap);
             _detectingMotion = false;
         }
    }
}

class AForgeHelper
{
    private Bitmap _background;
    private Bitmap _currentFrameBitmap;

    public async Task MoveBackgrounds(SoftwareBitmap currentFrame)
    {
        if (_background == null)
        {
            _background = TransformToGrayscale(await ConvertSoftwareBitmapToBitmap(currentFrame));
        }
        else
        {
            // modifying _background in compliance with algorithm - in this case irrelevant
        }
    }

    public async Task<SoftwareBitmap> DetectMotion()
    {
        // to check only this conversion
        return await ConvertBitmapToSoftwareBitmap(_background);
    }

    private static async Task<Bitmap> ConvertSoftwareBitmapToBitmap(SoftwareBitmap input)
    {
        Bitmap output = null;
        await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
        {
            WriteableBitmap tmpBitmap = new WriteableBitmap(input.PixelWidth, input.PixelHeight);
            input.CopyToBuffer(tmpBitmap.PixelBuffer);
            output = (Bitmap)tmpBitmap;
        });
        return output;
    }

    private static async Task<SoftwareBitmap> ConvertBitmapToSoftwareBitmap(Bitmap input)
    {
        SoftwareBitmap output = null;
        await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
        {
            WriteableBitmap tmpBitmap = (WriteableBitmap)input;
            output = new SoftwareBitmap(BitmapPixelFormat.Bgra8, tmpBitmap.PixelWidth, tmpBitmap.PixelHeight,
                                        BitmapAlphaMode.Premultiplied);
            output.CopyFromBuffer(tmpBitmap.PixelBuffer);
        });
        return output;
    }

    private static Bitmap TransformToGrayscale(Bitmap input)
    {
        Grayscale grayscaleFilter = new Grayscale(0.2125, 0.7154, 0.0721);
        Bitmap output = grayscaleFilter.Apply(input);
        return output;
    }
}

Certainly, I've tried to detect some errors using try-catch clauses. I've found nothing. But it seems to me that this problem is caused by casting WriteableBitmap to Bitmap and at this point I want ask if during this procedure it is applied special watermark in the shape of red cross. Thanks in advance for help.

System.ArgumentOutOfRangeException

Hi

An exception of type 'System.ArgumentOutOfRangeException' occurred in Shim.System.Drawing.DLL but was not handled in user code

Additional information: Specified argument was out of the range of valid values.

namespace ImagePixelEnumerator.Helpers
class ImageBuffer

Line 460

// determines mode
Boolean isAdvanced = passes.Length > 0 && passes[0] is TransformPixelAdvancedFunction;

Trace
at ImagePixelEnumerator.Helpers.ImageBuffer.TransformPerPixelBase(ImageBuffer target, IList'1 path, Int32 parallelTaskCount, Delegate[] passes)
at ImagePixelEnumerator.Helpers.ImageBuffer.TransformPerPixel(List'1 palette, Image& targetImage, IList'1 path, Int32 parallelTaskCount, TransformPixelFunction[] passes)
at ImagePixelEnumerator.Helpers.ImageBuffer.TransformImagePerPixel(Image sourceImage, List'1 palette, Image& targetImage, IList'1 path, Int32 parallelTaskCount, TransformPixelFunction[] passes)
at System.Drawing.Graphics.DrawImage(Bitmap source, Int32 x, Int32 y, Int32 width, Int32 height)
at CrossPlatform.Infrastructure.StoreApp.StoreAppStorageUtility.GetBitmapPart(Bitmap image, Rectangle sourceRect)
at CrossPlatform.Infrastructure.StoreApp.StoreAppStorageUtility.ImageProcessDiabloIII(ImageInfoM workImageInfo, Boolean isSizeCheck)
at ScreenShotAutoCut.PCL.ViewModels.FolderDetailPageVM.<.ctor>b__0(Object s, PropertyChangedEventArgs e)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at CrossPlatform.Infrastructure.BindableBase.<>c__DisplayClass2.b__0(Object para)
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()

My source

private Bitmap GetBitmapPart(Bitmap image, Rectangle sourceRect)
{
  Bitmap bmp = new Bitmap(sourceRect.Width, sourceRect.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
  using (var g = Graphics.FromImage(bmp))
  {
     g.DrawImage(image, sourceRect.X, sourceRect.Y, sourceRect.Width, sourceRect.Height);
  }
  return bmp;
}

image parameter picture
screenshot049

Please check it
Thank you

PS.
One file size 910KB, 55 files loaded
My app memory using 920MB... this is problem?

Reduced the memory usage of my images. However, there is still an error occurs in the same spot.

Error after installing Accord.NET from Nuget Package Manager in Windows Phone 8 development

I install Accord.imaging along with its dependencies successfully into my Window Phone 8 app project by using the Nuget Package Manager. As soon as i try to build it, the following error occurs:

Error 1 Cannot resolve reference assemblies. Please check the reference assemblies. Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I try install .NET framework 4.0 but cannot as i already installed the higher version 4.5, which fits the requirement. Nuget Package Manager is also updated.

Could this be a problem the Accord.NET cannot be used in Windows Phone 8 although it was successfully installed?

I also tried manually add reference using the portable Accord.NET version along with its dependancies from this link:

https://github.com/cureos/accord

https://github.com/cureos/aforge

two errors occur:

Error 6 The type 'System.Runtime.InteropServices.GuidAttribute' exists in both 'd:\programming\ImageStitching\ImageStitch\accord\Sources\Accord.Imaging\bin\Debug\Shim.System.dll' and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.0\mscorlib.dll'
D:\programming\ImageStitching\ImageStitch\ImageStitch\Properties\AssemblyInfo.cs
25
Error 2 Cannot resolve reference assemblies. Please check the reference assemblies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
D:\programming\ImageStitching\imagingtrial\imagingtrial\imagingtrial\App.xaml

I am quite newbie in this.
Can anyone please tell me what have i done wrong? May this be the problem as i am not quite understand this statement:
"all underlying assemblies need to have a strong name, i.e. be signed"
Thanks in advance.

UseParallelProcessing issue

Issue received via e-mail from Dmitry Tetchenko.

I Use Portable.Accord to detect faces on photo:

detector = new HaarObjectDetector(cascade, 30); 

and if I not set detector.UseParallelProcessing to false (detector.UseParallelProcessing = false;)

detector.ProcessFrame(bitmap) 

not works :(

but if I set detector.UseParallelProcessing = false, calculation is performed for too long, about 8 seconds.

Make classes and methods in Shim.System.Drawing internal

As highlighted in issue #7, the classes and methods in the Shim.System.Drawing library are primarily provided for compatibility reasons to secure proper building of the AForge.NET and Accord.NET imaging based libraries.

The majority of classes and methods in Shim.System.Drawing are not intended to be directly used in end-user application code, for regular type of image manipulation you are instead advised to use methods readily available for BitmapSource and its descendants, such as WriteableBitmap.

To avoid further confusion around these issues, it would be better to declare internal those classes and methods in Shim.System.Drawing that should not be used externally, and make InternalsVisibleTo the relevant AForge.NET and Accord.NET libraries.

panorama stitching in windows phone 8

I want to do panorama stitching like the one in this link:
http://www.codeproject.com/Articles/95453/Automatic-Image-Stitching-with-Accord-NET

For now i am already stucked at the bitmap part...

1)I try to reference the prebuilt AForge and WriteableBitmapEx binaries which I can find under the Releases tab, but I can not add a reference to a later version or incompatible assembly.

2)Any comment or suggestion for me to port the program to windows phone 8?

I may need thorough explaination in this..
Truly thanks.

Unable to build Xamarin Classic with registered version shims

Only fails when we replace Shim.Drawing.dll with licensed versions

Error 68
The "LinkAssemblies" task failed unexpectedly.
Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'System.Drawing.Graphics System.Drawing.Graphics::FromImage(System.Drawing.Bitmap)' (defined in 'AForge.Imaging, Version=2.2.5.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b') from 'AForge.Imaging, Version=2.2.5.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve System.Drawing.Graphics System.Drawing.Graphics::FromImage(System.Drawing.Bitmap)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
--- End of inner exception stack trace ---
at Xamarin.Android.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext()
ACS.FundRaising.Android

Fails with the following

error1

Does not fail with:

error2

Recalculating chromosome with new seed

To compare the fitness of each chromosome, I use a seed to make sure the random elements stay the same. For every generation a new seed is used, but since some (~15/100 for RouletteSelection) Chromosomes in the population are only cloned, they effectively can't be compared to the mutated Chromosomes.

Is there an option to reset the fitness of every Chromosome?

.NET Core version

Greetings,

thank you so much for this wonderful library.
Are there any plans to release a .NET Core (netstandard*) version of AForge.net?

Thanks in advance
-Simon

System.Drawing.Image.FromStream returns a Bitmap with incorrect PixelFormat

Hi Anders, so sorry for disturbing you again.

I have an image stored on a disk, .bmp file with PixelFormat = Format1bppIndexed.
I try to load this file from Stream in my UWP application:

using (Stream stream = ResourcesUtils.GetResourceByID(ResourcesUtils.RES_BOARDMASK_20x20))
{
Bitmap bmpMask = (Bitmap)System.Drawing.Image.FromStream(stream);
...
}

When I check the PixelFormat of bmpMask, it's Format32bppArgb.

Is this a correct behavior or a bug in Shim.Drawing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.