yasirkula / UnityNativeShare

A Unity plugin to natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS
MIT License
891 stars 131 forks source link

Low Image Resolution #87

Closed yusufozcan closed 3 years ago

yusufozcan commented 3 years ago

First of all thank you for this library. It helped me too much. My problem is the shared image quality is very less than captured screen picture. I also tried ScreenCapture.CaptureScreenshotAsTexture(4); code to take super high res image and I checked saved image on the disk is very high quality. But it losts quality while sharing. I couldn't find where. Maybe in native code.

yasirkula commented 3 years ago

Social media/chat apps can compress images to reduce their sizes. NativeShare doesn't alter the input files/Textures in any way, so I'm guessing that this issue is caused by the social media/chat app.

yusufozcan commented 3 years ago

I also tried to save to storage but I got the same result.

yasirkula commented 3 years ago

You said "I checked saved image on the disk is very high quality", how does saving to storage yields the same result then?

yasirkula commented 3 years ago

Closed due to inactivity.