Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: MagickFormat enum (v7.0.0.4) [1288]

$
0
0
It appears as though setting the Format property on a MagickImage object can result in unexpected results in the latest release. When setting the Format property to the value ImageMagick.MagickFormat.Jpeg and inspecting the actual value at runtime it appears to be ImageMagick.MagickFormat.Jp2 (this also throws an exception originating from the Jp2 coder source).

If the Format property is set to ImageMagick.MagickFormat.Jnx, at runtime the value appears to be ImageMagick.MagickFormat.Jpeg.

Could it be possible for this enumeration to be out of sync? When comparing the enumeration found here:

https://magick.codeplex.com/SourceControl/latest#Magick.NET/Enums/MagickFormat.h

With the enumeration included in the build from Nuget:

http://pastebin.com/MDT2Rghr

The values don't appear to quite line up. There are differences between the 2 enumerations.

The build I am testing with came from the latest Nuget package (v7.0.0.4):

https://www.nuget.org/packages/Magick.NET-Q16-AnyCPU/
Comments: ** Comment from web user: dlemstra **

Your pastebin information suggests that you are using an older version of Magick.NET:
```
#region Assembly Magick.NET-AnyCPU.dll, v6.0.0.0
// [REDACTED]\packages\Magick.NET-Q16-AnyCPU.6.8.9.002\lib\net40-client\Magick.NET-AnyCPU.dll
#endregion
```

The MagickFormat enumeration can change between releases because of added coders/formats.


Viewing all articles
Browse latest Browse all 1011

Trending Articles