In DXA 2.2, the binary filename contains a TcmID at end, example:
Can we remove the TcmID part from image url?
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It only takes a minute to sign up.Sign up to join this community
Agree with @Dominic.
Technically It's possible to customize to Strip TCM URI from binary filename.
If you do this, there is a chance of conflicts because the file name is no longer guaranteed to be unique. Use with care.
If you really want to then maybe you need to customize the DXA TBBs ModelBuilder pipeline to handle all the images filename with AddBinary method to pass the filename without Tcm id.
I hope it helps