Explorar o código

Fix pixelate check

DarthSim %!s(int64=4) %!d(string=hai) anos
pai
achega
e46127a7a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      processing/apply_filters.go

+ 1 - 1
processing/apply_filters.go

@@ -8,7 +8,7 @@ import (
 )
 
 func applyFilters(pctx *pipelineContext, img *vips.Image, po *options.ProcessingOptions, imgdata *imagedata.ImageData) error {
-	if po.Blur == 0 && po.Sharpen == 0 && po.Pixelate < 1 {
+	if po.Blur == 0 && po.Sharpen == 0 && po.Pixelate <= 1 {
 		return nil
 	}