Skip to content

Commit

Permalink
* FIX: Colors are washed out on some images.
Browse files Browse the repository at this point in the history
  • Loading branch information
dooman87 committed Jul 15, 2019
1 parent 5aed94b commit bf1d502
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.9-alpine3.7
FROM golang:1.12-alpine3.10

#Installing imagemagick
RUN apk add --no-cache imagemagick git
RUN apk add --no-cache imagemagick git gcc libc-dev

#Installing godeps
RUN go get github.com/golang/dep/cmd/dep
Expand Down
3 changes: 1 addition & 2 deletions img/processors/imagemagick.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ var convertOpts = []string{
"-interlace", "None",
"-colorspace", "sRGB",
"-sampling-factor", "4:2:0",
"-strip",
"+profile", "*",
"+profile", "!icc,*",
}

var cutToFitOpts = []string{
Expand Down

0 comments on commit bf1d502

Please sign in to comment.