mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-06-28 14:16:24 +02:00
Use github.com/bamiaux/rez instead of github.com/nfnt/resize for resampling the pyramid tiles. It is much faster but needs some testing.
This commit is contained in:
@ -15,8 +15,13 @@ import (
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/bamiaux/rez"
|
||||
)
|
||||
|
||||
// ResizeFilter is used to scale down the pyramid tiles.
|
||||
var ResizeFilter = rez.NewLanczosFilter(3)
|
||||
|
||||
var rrand uint32
|
||||
var rrandmu sync.Mutex
|
||||
|
||||
|
Reference in New Issue
Block a user