Add a file that explains how to build Magick.NET.
↧
Closed Feature: Add build instructions [1376]
↧
Created Unassigned: Refactor MagickReadSettings [1379]
There is a MagickReadSettings class that has some settings for when you read the image(s). This sets 'hidden' settings in the MagickSettings class and passes that to the part that reads an image. I think I should use the MagickSettings class as an argument for the Read method instead.
↧
↧
Edited Unassigned: Refactor MagickReadSettings [1379]
There is a MagickReadSettings class that has some settings for when you read the image(s). This sets 'hidden' settings in the MagickSettings class and passes that to the part that reads an image. I think I should use the MagickSettings class as an argument for the Read method instead.
↧
Commented Unassigned: Animated gif generating [1378]
I can't really understand, why gif animation isn't working without this?
```
//Optionally reduce colors
QuantizeSettings settings = new QuantizeSettings { Colors = 256 };
collection.Quantize(settings);
// Optionally optimize the images (images should have the same size).
collection.Optimize();
```
2 png frames, same size. Without code above it creates gif with only 1 frame. With code above, everything is fine. Is it a bug of reature?
Comments: Can you reply to my questiond? Otherwise I will have to close this issue.
```
//Optionally reduce colors
QuantizeSettings settings = new QuantizeSettings { Colors = 256 };
collection.Quantize(settings);
// Optionally optimize the images (images should have the same size).
collection.Optimize();
```
2 png frames, same size. Without code above it creates gif with only 1 frame. With code above, everything is fine. Is it a bug of reature?
Comments: Can you reply to my questiond? Otherwise I will have to close this issue.
↧
Commented Unassigned: Animated gif generating [1378]
I can't really understand, why gif animation isn't working without this?
```
//Optionally reduce colors
QuantizeSettings settings = new QuantizeSettings { Colors = 256 };
collection.Quantize(settings);
// Optionally optimize the images (images should have the same size).
collection.Optimize();
```
2 png frames, same size. Without code above it creates gif with only 1 frame. With code above, everything is fine. Is it a bug of reature?
Comments: Can you reply to my questions? Otherwise I will have to close this issue.
```
//Optionally reduce colors
QuantizeSettings settings = new QuantizeSettings { Colors = 256 };
collection.Quantize(settings);
// Optionally optimize the images (images should have the same size).
collection.Optimize();
```
2 png frames, same size. Without code above it creates gif with only 1 frame. With code above, everything is fine. Is it a bug of reature?
Comments: Can you reply to my questions? Otherwise I will have to close this issue.
↧
↧
Created Unassigned: Could not load file or assembly 'Magick.NET-Q8.Wrapper-x86.dll' or one of its dependencies. The specified module could not be found. [1380]
I have this dreaded error on a new server.
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
↧
Commented Unassigned: Could not load file or assembly 'Magick.NET-Q8.Wrapper-x86.dll' or one of its dependencies. The specified module could not be found. [1380]
I have this dreaded error on a new server.
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
Comments: Oh, I also have set the MagickAnyCPU.CacheDirectory
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
Comments: Oh, I also have set the MagickAnyCPU.CacheDirectory
↧
Commented Unassigned: Could not load file or assembly 'Magick.NET-Q8.Wrapper-x86.dll' or one of its dependencies. The specified module could not be found. [1380]
I have this dreaded error on a new server.
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
Comments: Holy cow! I found the problem totally by accident. I was looking at 'programs and features', and noticed that there was a 64 and 32 bit version of C++ for 2008, 2010, and 2013, but for 2012, there was only a 64 bit version. So on a lark, I downloaded the 2012 32 bit c++ library, and that fixed it. So the problem is, that the VS 2013 C++ 32 bit library is missing the 2012 component, and you must install that also!
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
Comments: Holy cow! I found the problem totally by accident. I was looking at 'programs and features', and noticed that there was a 64 and 32 bit version of C++ for 2008, 2010, and 2013, but for 2012, there was only a 64 bit version. So on a lark, I downloaded the 2012 32 bit c++ library, and that fixed it. So the problem is, that the VS 2013 C++ 32 bit library is missing the 2012 component, and you must install that also!
↧
Commented Unassigned: Could not load file or assembly 'Magick.NET-Q8.Wrapper-x86.dll' or one of its dependencies. The specified module could not be found. [1380]
I have this dreaded error on a new server.
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
Comments: I am happy that you managed to resolve it but I would advise you to upgrade to the latest version. It no longer requires you to install the Visual Studio C++ redistributable.
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
Comments: I am happy that you managed to resolve it but I would advise you to upgrade to the latest version. It no longer requires you to install the Visual Studio C++ redistributable.
↧
↧
Closed Unassigned: Could not load file or assembly 'Magick.NET-Q8.Wrapper-x86.dll' or one of its dependencies. The specified module could not be found. [1380]
I have this dreaded error on a new server.
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
I have installed VC runtime, both 32 and 64 bits.
I am running Windows Server 2012, my App Pool has 32 bit enabled, however, my app is compiled 'any cpu'. Same app also has parts that run in 32 bit mode using old OLEDB drivers, so I have to do Any Cpu.
I have tried the Any CPU version, and the 64 bit version, and 32 bit version. All of them give me the same error.
I was on v 14, out of desperation I tried the one uploaded Sunday to no Avail.
I don't know what more I can do. What else can I look at for this error?
↧
Created Unassigned: Avoid (Memory)Stream to byte array conversion where possible [1381]
Provide a 'fast' constructor for MemoryStream and avoid the expensive StreamHelper.ToByteArray call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
↧
Created Unassigned: Magick.NET.Core is not compatible with UWP app [1382]
I am developing an UWP app with following information:
- Target: Universal Windows
- Target Version: Windows 10 (10.0; Build 10586)
I tried to install Magick.NET.Core-Q8 to my app (using Nuget Package Manager) but I got these error messages:
```
Restoring packages for 'EditPhotoUWP'.
Restoring packages for D:\WorkSpace\Visual Studio\EditPhotoUWP\EditPhotoUWP\project.json...
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0.
Some packages are not compatible with UAP,Version=v10.0.
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).
Package restore failed for 'EditPhotoUWP'.
Package restore failed. Rolling back package changes for 'EditPhotoUWP'.
```
Does Magick.NET support UWP apps? If not, are there any ways to use this library in an UAP app?
- Target: Universal Windows
- Target Version: Windows 10 (10.0; Build 10586)
I tried to install Magick.NET.Core-Q8 to my app (using Nuget Package Manager) but I got these error messages:
```
Restoring packages for 'EditPhotoUWP'.
Restoring packages for D:\WorkSpace\Visual Studio\EditPhotoUWP\EditPhotoUWP\project.json...
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0.
Some packages are not compatible with UAP,Version=v10.0.
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).
Package restore failed for 'EditPhotoUWP'.
Package restore failed. Rolling back package changes for 'EditPhotoUWP'.
```
Does Magick.NET support UWP apps? If not, are there any ways to use this library in an UAP app?
↧
Commented Unassigned: Animated gif generating [1378]
I can't really understand, why gif animation isn't working without this?
```
//Optionally reduce colors
QuantizeSettings settings = new QuantizeSettings { Colors = 256 };
collection.Quantize(settings);
// Optionally optimize the images (images should have the same size).
collection.Optimize();
```
2 png frames, same size. Without code above it creates gif with only 1 frame. With code above, everything is fine. Is it a bug of reature?
Comments: Sorry, it's not that simple. I'm generating those images on the fly from XAML frames and I'm doing it in memory without saving anything directly into files. And yes, I'm setting animation delay for each frame. This is my code, which can be helpful. ``` byte[] bytes; using (var collection = new MagickImageCollection()) { foreach (var frame in stateWithPic.Frames) { var frame1 = frame; frame1.Image = frame1.Image.Replace("#000000", "#FF0F0F0F"); Canvas surface; var imageBytes = Encoding.Unicode.GetBytes(frame1.Image ?? ""); using (var stream = new MemoryStream(imageBytes)) { surface = (Canvas)XamlServices.Load(stream); } var pngBitmap = surface != null ? InternalConverter.XamlCanvasToPngBitmap(surface) : null; if (pngBitmap == null) { continue; } var img = new MagickImage(pngBitmap) { AnimationDelay = frame.Duration / 10, HasAlpha = true }; collection.Add(img); } if (collection.Count == 0) { return string.Empty; } //Optionally reduce colors QuantizeSettings settings = new QuantizeSettings { Colors = 256 }; collection.Quantize(settings); // Optionally optimize the images (images should have the same size). collection.Optimize(); using (var str = new MemoryStream()) { collection.Write(str, MagickFormat.Gif); bytes = str.ToArray(); } } ``` So, without ``` //Optionally reduce colors QuantizeSettings settings = new QuantizeSettings { Colors = 256 }; collection.Quantize(settings); // Optionally optimize the images (images should have the same size). collection.Optimize(); ``` it's not working properly. But with this code everything works fine so far.
```
//Optionally reduce colors
QuantizeSettings settings = new QuantizeSettings { Colors = 256 };
collection.Quantize(settings);
// Optionally optimize the images (images should have the same size).
collection.Optimize();
```
2 png frames, same size. Without code above it creates gif with only 1 frame. With code above, everything is fine. Is it a bug of reature?
Comments: Sorry, it's not that simple. I'm generating those images on the fly from XAML frames and I'm doing it in memory without saving anything directly into files. And yes, I'm setting animation delay for each frame. This is my code, which can be helpful. ``` byte[] bytes; using (var collection = new MagickImageCollection()) { foreach (var frame in stateWithPic.Frames) { var frame1 = frame; frame1.Image = frame1.Image.Replace("#000000", "#FF0F0F0F"); Canvas surface; var imageBytes = Encoding.Unicode.GetBytes(frame1.Image ?? ""); using (var stream = new MemoryStream(imageBytes)) { surface = (Canvas)XamlServices.Load(stream); } var pngBitmap = surface != null ? InternalConverter.XamlCanvasToPngBitmap(surface) : null; if (pngBitmap == null) { continue; } var img = new MagickImage(pngBitmap) { AnimationDelay = frame.Duration / 10, HasAlpha = true }; collection.Add(img); } if (collection.Count == 0) { return string.Empty; } //Optionally reduce colors QuantizeSettings settings = new QuantizeSettings { Colors = 256 }; collection.Quantize(settings); // Optionally optimize the images (images should have the same size). collection.Optimize(); using (var str = new MemoryStream()) { collection.Write(str, MagickFormat.Gif); bytes = str.ToArray(); } } ``` So, without ``` //Optionally reduce colors QuantizeSettings settings = new QuantizeSettings { Colors = 256 }; collection.Quantize(settings); // Optionally optimize the images (images should have the same size). collection.Optimize(); ``` it's not working properly. But with this code everything works fine so far.
↧
↧
Commented Unassigned: Avoid (Memory)Stream to byte array conversion where possible [1381]
Provide a 'fast' constructor for MemoryStream and avoid the expensive StreamHelper.ToByteArray call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
Comments: Thanks for the suggestion. But I think there is an easier solution. I now do a call to ToArray inside the StreamHelper.ToByteArray method but I could change this to GetBuffer instead. Feel free to submit a pull request for this on github.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
Comments: Thanks for the suggestion. But I think there is an easier solution. I now do a call to ToArray inside the StreamHelper.ToByteArray method but I could change this to GetBuffer instead. Feel free to submit a pull request for this on github.
↧
Edited Unassigned: Avoid (Memory)Stream to byte array conversion where possible [1381]
Provide a 'fast' constructor for MemoryStream and avoid the expensive StreamHelper.ToByteArray call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
↧
Commented Unassigned: Magick.NET.Core is not compatible with UWP app [1382]
I am developing an UWP app with following information:
- Target: Universal Windows
- Target Version: Windows 10 (10.0; Build 10586)
I tried to install Magick.NET.Core-Q8 to my app (using Nuget Package Manager) but I got these error messages:
```
Restoring packages for 'EditPhotoUWP'.
Restoring packages for D:\WorkSpace\Visual Studio\EditPhotoUWP\EditPhotoUWP\project.json...
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0.
Some packages are not compatible with UAP,Version=v10.0.
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).
Package restore failed for 'EditPhotoUWP'.
Package restore failed. Rolling back package changes for 'EditPhotoUWP'.
```
Does Magick.NET support UWP apps? If not, are there any ways to use this library in an UAP app?
Comments: I have replied to your board post (https://magick.codeplex.com/discussions/652284) but I will keep this open for now.
- Target: Universal Windows
- Target Version: Windows 10 (10.0; Build 10586)
I tried to install Magick.NET.Core-Q8 to my app (using Nuget Package Manager) but I got these error messages:
```
Restoring packages for 'EditPhotoUWP'.
Restoring packages for D:\WorkSpace\Visual Studio\EditPhotoUWP\EditPhotoUWP\project.json...
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0.
Some packages are not compatible with UAP,Version=v10.0.
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64).
Magick.NET.Core-Q8 7.0.0.103 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).
Package restore failed for 'EditPhotoUWP'.
Package restore failed. Rolling back package changes for 'EditPhotoUWP'.
```
Does Magick.NET support UWP apps? If not, are there any ways to use this library in an UAP app?
Comments: I have replied to your board post (https://magick.codeplex.com/discussions/652284) but I will keep this open for now.
↧
Closed Unassigned: Avoid (Memory)Stream to byte array conversion where possible [1381]
Provide a 'fast' constructor for MemoryStream and avoid the expensive StreamHelper.ToByteArray call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
With the MemoryStream you can save 50% of the managed memory usage if you don't copy the byte-buffer.
Something like that:
```
public void Read(Stream stream, MagickReadSettings readSettings)
{
Throw.IfNull("stream", stream);
if( stream.GetType() != typeof(System.IO.MemoryStream) )
{
this.Read(StreamHelper.ToByteArray(stream), readSettings);
return;
}
byte[] data = MemoryStream.GetBuffer();
int length = MemoryStream.Length;
this.Read(data, length, readSettings);
}
```
So people are able to use some kind of buffer pooling or else without the penalty of creating byte arrays only for the Read() call.
↧
↧
Created Unassigned: Setting BlackPointCompensation throws error [1383]
I get the following:
__Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named 'MagickImage_BlackPointCompensation_Set' in DLL 'Magick.NET-Q16-x64.Native.dll'.__
__Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named 'MagickImage_BlackPointCompensation_Set' in DLL 'Magick.NET-Q16-x64.Native.dll'.__
↧
Created Unassigned: Make DrawablePath chainable [1384]
Make it possible to change:
```C#
image.Draw(new DrawablePath(
new PathMoveToAbs(75, 70),
new PathLineToAbs(90, 20),
new PathLineToAbs(105, 70)));
```
into:
```C#
image.Draw(new DrawablePath()
.MoveToAbs(75, 70)
.LineToAbs(90, 20)
.LineToAbs(105, 70)));
```
```C#
image.Draw(new DrawablePath(
new PathMoveToAbs(75, 70),
new PathLineToAbs(90, 20),
new PathLineToAbs(105, 70)));
```
into:
```C#
image.Draw(new DrawablePath()
.MoveToAbs(75, 70)
.LineToAbs(90, 20)
.LineToAbs(105, 70)));
```
↧
Commented Unassigned: Setting BlackPointCompensation throws error [1383]
I get the following:
__Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named 'MagickImage_BlackPointCompensation_Set' in DLL 'Magick.NET-Q16-x64.Native.dll'.__
Comments: This issue has been resolved in the latest release. Please upgrade to the latest version.
__Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named 'MagickImage_BlackPointCompensation_Set' in DLL 'Magick.NET-Q16-x64.Native.dll'.__
Comments: This issue has been resolved in the latest release. Please upgrade to the latest version.
↧