Ionic 4 need to crop gallery image in rectangle and display it


I am trying to crop my gallery image for my app banner (Rectangle one).
I tried cropper.js but is don’t work for me.

Dose anyone has any idea what will work or any other plugin that i can try?