1
0
DarthSim 4 жил өмнө
parent
commit
e46127a7a4

+ 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 {
 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
 		return nil
 	}
 	}