You could just run this one line script:
convert /tmp/Web-Screen-Saved.png -chop 0x23 /tmp/Web-Screen-Saved-Clipped.png
I've attached a sample output based on your original image.
See: https://imagemagick.org/ (https://imagemagick.org/)
Here's another ImageMagick incantation, but this one preserves the model and date on the top line. It draws a white box over top the serial number. The top line is not using a fixed wdith font, so you might have to play with the box starting and ending corners. The following works for the DSO-X 3034A previously posted:
convert original.png -fill white -draw "rectangle 73,0 156,22" blank_sn.png
I have an MSO-X3104A, and the rectangle has a slightly different X position. Here's the script I use called "mso-blank-sn" (overwrites the original png):
#!/bin/bash
# blank serial number from top of png images
for i; do
convert "$i" -fill white -draw "rectangle 77,0 159,22" "$i"
done
exit 0
On my wish list is having more than one "Quick Action". Maybe a double press on "Quick Action" can bring up a menu of other choices that can also be configured. And for extra bonus points, the choices could be configured to execute an arbitrary list of SCPI commands.
I'm not holding my breath.