You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2021-12-13][$500] Image is blurry and not rendered in correct resolution in mobile devices #5193
Okay for starters I just tested on regular images and they looked fine. Might be something just specific to the sample image as its very tall. I don't think this is daily since regular images appear just fine and this is quite an edge case with the sample image provided.
Either way, i'm testing the sample image next.
Trying to figure out how this works. Either way i dont think its a daily since its a pretty edge case scenario. Demoting to weekly for now as i continue to investigate.
From what i can tell the image obtained from the server is the correct size, its just when we scale it down here we seem to loose image quality. We could always load an image with 100% width as the parent and allow the height to be scrolled. This could solve the problem but i'm unsure if react-native-image-pan-zoom allows for that.
Anyway since this is purely an issue with the front end code i'll place the External label on it.
changed the title [-][$500] Image is blurry and not rendered in correct resolution in mobile devices[/-][+][HOLD for payment 2021-12-13] [$500] Image is blurry and not rendered in correct resolution in mobile devices[/+]on Dec 6, 2021
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.17-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
changed the title [-][HOLD for payment 2021-12-13] [$500] Image is blurry and not rendered in correct resolution in mobile devices[/-][+][$500] Image is blurry and not rendered in correct resolution in mobile devices[/+]on Dec 6, 2021
changed the title [-][$500] Image is blurry and not rendered in correct resolution in mobile devices[/-][+][HOLD for payment 2021-12-13][$500] Image is blurry and not rendered in correct resolution in mobile devices[/+]on Dec 10, 2021
I also searched for a solution to this problem for a long time, and finally decided to modify react-native-fast-image a little and added the preloadDimension method to it, which does the same as getSize only returns the real size of the image. I also use the same library to show the image, which solves the problem of quality reduction
Activity
MelvinBot commentedon Sep 10, 2021
Triggered auto assignment to @chiragsalian (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.chiragsalian commentedon Sep 13, 2021
Looking into this today
chiragsalian commentedon Sep 13, 2021
Okay for starters I just tested on regular images and they looked fine. Might be something just specific to the sample image as its very tall. I don't think this is daily since regular images appear just fine and this is quite an edge case with the sample image provided.
Either way, i'm testing the sample image next.
chiragsalian commentedon Sep 14, 2021
Trying to figure out how this works. Either way i dont think its a daily since its a pretty edge case scenario. Demoting to weekly for now as i continue to investigate.
chiragsalian commentedon Sep 20, 2021
From what i can tell the image obtained from the server is the correct size, its just when we scale it down here we seem to loose image quality. We could always load an image with 100% width as the parent and allow the height to be scrolled. This could solve the problem but i'm unsure if
react-native-image-pan-zoomallows for that.Anyway since this is purely an issue with the front end code i'll place the External label on it.
MelvinBot commentedon Sep 20, 2021
Triggered auto assignment to @NicMendonca (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.60 remaining items
[-][$500] Image is blurry and not rendered in correct resolution in mobile devices[/-][+][HOLD for payment 2021-12-13] [$500] Image is blurry and not rendered in correct resolution in mobile devices[/+]botify commentedon Dec 6, 2021
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.17-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2021-12-13. 🎊
roryabraham commentedon Dec 6, 2021
We had a regression, and Applause reported still being able to reproduce the regression on Android production.
[-][HOLD for payment 2021-12-13] [$500] Image is blurry and not rendered in correct resolution in mobile devices[/-][+][$500] Image is blurry and not rendered in correct resolution in mobile devices[/+]roryabraham commentedon Dec 6, 2021
@NicMendonca We're tracking the regression here. It must be fixed before this issue can be paid out.
aswin-s commentedon Dec 7, 2021
@roryabraham Linked issue is unrelated to blurred image bug. Should I do something about it? What's the next step here?
roryabraham commentedon Dec 10, 2021
So sorry @aswin-s, I got confused. The linked regression is related to #6326, not this issue. My mistake. Nothing more for you to do here.
[-][$500] Image is blurry and not rendered in correct resolution in mobile devices[/-][+][HOLD for payment 2021-12-13][$500] Image is blurry and not rendered in correct resolution in mobile devices[/+]NicMendonca commentedon Dec 14, 2021
@aswin-s @PrashantMangukiya paid!
valery-lavrik commentedon Aug 11, 2022
I also searched for a solution to this problem for a long time, and finally decided to modify react-native-fast-image a little and added the preloadDimension method to it, which does the same as getSize only returns the real size of the image. I also use the same library to show the image, which solves the problem of quality reduction
https://github.com/valery-lavrik/react-native-fast-image
And so that the application does not crash on very large pictures, I added the useHardwareTextureAndroid=true parameter to zoom
parasharrajat commentedon Aug 11, 2022
@valery-lavrik This issue is already resolved and marked as closed.
valery-lavrik commentedon Aug 11, 2022
@parasharrajat I just shared my decision, maybe it will be useful to someone. It's much simpler
parasharrajat commentedon Aug 11, 2022
Ok. Thanks.