Browse Source

update

pull/279/head
tnextday 10 years ago
parent
commit
9479a351f0
  1. 3
      go/images/resizing.go

3
go/images/resizing.go

@ -13,9 +13,6 @@ import (
const defaultJpegQuality = 85
// TODO resize image with vipsthumbnail
// use `/dev/shm` as memory file system
func Resized(ext string, data []byte, width, height int) (resized []byte, w int, h int) {
if width == 0 && height == 0 {
return data, 0, 0

Loading…
Cancel
Save