Merge "images: make cr2 and tiff decoding work together."

This commit is contained in:
Mathieu Lonjaret 2015-07-21 14:35:58 +00:00 committed by Gerrit Code Review
commit a6896a6c36
1 changed files with 4 additions and 1 deletions

View File

@ -30,12 +30,15 @@ import (
_ "image/gif"
_ "image/png"
_ "camlistore.org/third_party/golang.org/x/image/tiff"
"camlistore.org/pkg/images/fastjpeg"
"camlistore.org/pkg/images/resize"
"camlistore.org/third_party/github.com/nf/cr2"
"camlistore.org/third_party/github.com/rwcarlsen/goexif/exif"
// tiff package must be imported after any image packages that decode
// tiff-like formats, i.e. CR2 or DNG
_ "camlistore.org/third_party/golang.org/x/image/tiff"
)
var disableThumbCache, _ = strconv.ParseBool(os.Getenv("CAMLI_DISABLE_THUMB_CACHE"))