How to manage Compress & Resize Images with Ionic-React using "react-image-file-resizer"

Hello @ptmkenny ,
I know that’s a ReactJS question, but in Ionic framework, we can code using Ionic + ReactJS or Ionic + AngularJS
Anyway, I tried what you have said to me, but indeed, it’s the same problem.
I get images from an API, first I should convert those images into a Blob then pass this Blob type file into the Resizer.imageFileResizer component, but always I get Promise<Void> as result, when I use the method resizeCompressAndReturnNewURL() into the other one imageFileResizeCompression ().

Do you have an idea about this topic @ldebeasi ?

Thanks for all.