(src image.Image, w, h int)
| 38 | } |
| 39 | |
| 40 | func ImageResize(src image.Image, w, h int) image.Image { |
| 41 | return resize.Resize(uint(w), uint(h), src, resize.Lanczos3) |
| 42 | } |
| 43 | func ImageResizeSaveFile(src image.Image, width, height int, p string) error { |
| 44 | dst := resize.Resize(uint(width), uint(height), src, resize.Lanczos3) |
| 45 |
nothing calls this directly
no outgoing calls
no test coverage detected