Browse Source

Fix pixelate check

DarthSim 4 years ago
parent
commit
e46127a7a4
1 changed files with 1 additions and 1 deletions
  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
 	}