chore: remove useless code

This commit is contained in:
huangbin.beal@163.com
2024-04-01 16:58:46 +08:00
parent f6bd3419c0
commit b5136ff1f1

View File

@@ -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)