Browse Source

Tidy up

Former-commit-id: 7da92ad2aaf9f258598d73253e46260ae7c63e1b
pull/17/head
James South 12 years ago
parent
commit
1f3da8c4e0
  1. 2
      src/ImageProcessor.Web/NET45/ImageFactoryExtensions.cs
  2. 2
      src/ImageProcessor/ImageFactory.cs
  3. 1
      src/ImageProcessor/ImageProcessor.csproj
  4. 1
      src/ImageProcessorConsole/images/input/nLpfllv.gif.REMOVED.git-id
  5. 2
      src/ImageProcessorConsole/images/output/120430.gif.REMOVED.git-id
  6. 1
      src/ImageProcessorConsole/images/output/nLpfllv.gif.REMOVED.git-id

2
src/ImageProcessor.Web/NET45/ImageFactoryExtensions.cs

@ -84,7 +84,7 @@ namespace ImageProcessor.Web
if (imageInfo.IsAnimated)
{
OctreeQuantizer quantizer = new OctreeQuantizer(255, 8);
MemoryStream stream = new MemoryStream(4096);
MemoryStream stream = new MemoryStream();
using (GifEncoder encoder = new GifEncoder(stream, null, null, imageInfo.LoopCount))
{
foreach (GifFrame frame in imageInfo.GifFrames)

2
src/ImageProcessor/ImageFactory.cs

@ -992,7 +992,7 @@ namespace ImageProcessor
if (imageInfo.IsAnimated)
{
OctreeQuantizer quantizer = new OctreeQuantizer(255, 8);
MemoryStream stream = new MemoryStream(4096);
MemoryStream stream = new MemoryStream();
using (GifEncoder encoder = new GifEncoder(stream, width, height, imageInfo.LoopCount))
{
foreach (GifFrame frame in imageInfo.GifFrames)

1
src/ImageProcessor/ImageProcessor.csproj

@ -71,7 +71,6 @@
<Compile Include="Imaging\CropLayer.cs" />
<Compile Include="Imaging\CropMode.cs" />
<Compile Include="Imaging\GaussianLayer.cs" />
<Compile Include="Imaging\ColorQuantizer.cs" />
<Compile Include="Imaging\GifEncoder.cs" />
<Compile Include="Imaging\GifFrame.cs" />
<Compile Include="Imaging\Quantizer.cs" />

1
src/ImageProcessorConsole/images/input/nLpfllv.gif.REMOVED.git-id

@ -0,0 +1 @@
15dcc59465ef0163037cddef074d4de3f13fe8d7

2
src/ImageProcessorConsole/images/output/120430.gif.REMOVED.git-id

@ -1 +1 @@
5e0c47f9c0cfbba294a8ca4fa61358c2af6a45f2
30ec5c05548fd350f9b7c699715848b9fbfb8ca9

1
src/ImageProcessorConsole/images/output/nLpfllv.gif.REMOVED.git-id

@ -0,0 +1 @@
23a1c81a2d1422076373796e0c47f5d968c56d0b
Loading…
Cancel
Save