Skip to content
Snippets Groups Projects
Commit 6393b1c4 authored by Travis Ralston's avatar Travis Ralston
Browse files

Remove debug from apng

parent ca56e573
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,6 @@ package i ...@@ -3,7 +3,6 @@ package i
import ( import (
"bytes" "bytes"
"errors" "errors"
"fmt"
"image" "image"
"image/draw" "image/draw"
"io/ioutil" "io/ioutil"
...@@ -26,7 +25,6 @@ func (d apngGenerator) supportsAnimation() bool { ...@@ -26,7 +25,6 @@ func (d apngGenerator) supportsAnimation() bool {
} }
func (d apngGenerator) matches(img []byte, contentType string) bool { func (d apngGenerator) matches(img []byte, contentType string) bool {
fmt.Println(contentType, util.IsAnimatedPNG(img))
return contentType == "image/png" && util.IsAnimatedPNG(img) return contentType == "image/png" && util.IsAnimatedPNG(img)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment