diff --git a/hrp/pkg/uixt/ext.go b/hrp/pkg/uixt/ext.go index f283c7f9..28eea07c 100644 --- a/hrp/pkg/uixt/ext.go +++ b/hrp/pkg/uixt/ext.go @@ -274,7 +274,6 @@ func (dExt *DriverExt) saveScreenShot(raw *bytes.Buffer, fileName string) (strin }() switch format { - // Convert to jpeg uniformly and compress with a compression rate of 95 case "jpeg", "png": jpegOptions := &jpeg.Options{} err = jpeg.Encode(file, img, jpegOptions)