mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-02 11:34:20 +02:00
Remove randomAccessRequired
This commit is contained in:
parent
ea7f2095b4
commit
9ca64ce25a
@ -90,13 +90,6 @@ func shutdownVips() {
|
||||
C.vips_shutdown()
|
||||
}
|
||||
|
||||
func randomAccessRequired(po processingOptions) int {
|
||||
if po.Gravity.Type == gravitySmart {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func round(f float64) int {
|
||||
return int(f + .5)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user