Recat UIKit Image compression

Hi Team,

i m using react sendbird-uikit 2.6.0 and trying to compress the image with below config with group channel.

<SendBirdProvider
        appId={sendbird.appId}
        userId={userId}
        colorSet={{
          "--sendbird-light-primary-500": "#321844",
          "--sendbird-light-primary-400": "#321844",
          "--sendbird-light-primary-300": "#321844",
          "--sendbird-light-primary-200": "#321844",
          "--sendbird-light-primary-100": "#f7f7f7",
          "--sendbird-dark-background-600": "#293042",
        }}
        theme={theme}
        imageCompression={{
          compressionRate: 0.5,
          resizingWidth: 200,
          resizingHeight: 200,
        }}
      >

Before upload and after upload there is no change in image size.

Hi @Mahesh_Gareja,

Can you please share the image that you are trying to compress via SendBird UIKit so that we can check and investigate further. Meanwhile, if you have any other questions please let us know.

Best,
Dhaval.

Hi @Dhaval_Patel
Thanks for your reply
The attached image is 3.1 MB
There is no change in file size before upload and after upload.

its happening with all images

hi @Dhaval_Patel
did you get a chance to look into this?

Hi @Mahesh_Gareja,

We ran some tests on version 2.7 and image compression seems to be working on macOS - Chrome and firefox, Can you please let us know what browser and OS are you testing it on?

Best,
Dhaval.