Is expo doing some kind of pre-image compression? I have been searching with google and expo forums etc. and I cannot find it out. Somehow randomly some images display in full resultion, sometimes they are scaled down. I am doing already “base-64 data URIs”, but it doesn’t help.
Hi! Is this happening on Android or iOS? I’m able to load that project on Android and all the images look normal resolution to me. Some more information about the exact steps to reproduce here would be really useful. Thanks!
Expo currently does not do any image optimization. If you are seeing this while developing your app, the images are served direct from your computer to your device. I suspect the issue may be with selecting the wrong resolution of image (e.g. 1x instead of 2x – try adding just 2x images to your repo since almost no devices today are 1x anyway) or something in React Native downscaling your images. On the device, Expo just uses React Native’s <Image> implementation.