Browse Source

v1.9.1

Fixing casting issue in quantizer on 64bit processors


Former-commit-id: 7d9b5aa38f572eb9816ccc4eb5ad5c0b83a7e832
af/merge-core
James South 12 years ago
parent
commit
777a805782
  1. 2
      build/Build.bat
  2. 2
      src/ImageProcessor/Imaging/Quantizer.cs
  3. 4
      src/ImageProcessor/Properties/AssemblyInfo.cs

2
build/Build.bat

@ -1,5 +1,5 @@
@ECHO OFF
SET version=1.9.0.0
SET version=1.9.1.0
SET webversion=3.2.4.0
SET webconfigversion=1.1.0.0

2
src/ImageProcessor/Imaging/Quantizer.cs

@ -131,7 +131,7 @@ namespace ImageProcessor.Imaging
for (int col = 0; col < width; col++)
{
this.InitialQuantizePixel(new Color32(sourcePixel));
sourcePixel = (IntPtr)((int)sourcePixel + this.pixelSize);
sourcePixel = (IntPtr)((long)sourcePixel + this.pixelSize);
}
// Now I have the pixel, call the FirstPassQuantize function...

4
src/ImageProcessor/Properties/AssemblyInfo.cs

@ -32,6 +32,6 @@ using System.Security;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.9.0.0")]
[assembly: AssemblyFileVersion("1.9.0.0")]
[assembly: AssemblyVersion("1.9.1.0")]
[assembly: AssemblyFileVersion("1.9.1.0")]

Loading…
Cancel
Save