mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-16 09:36:18 +02:00
Remove randomAccessRequired
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user