Binary package “epstool” in ubuntu jammy
edit preview images and fix bounding boxes in EPS files
Encapsulated PostScript (EPS) files may contain a preview to be used
by programs that can't interpret the PostScript code. epstool can
create and extract such previews.
.
epstool can also calculate an optimal bounding box for an EPS file.