Hello, I looked at the output of the onLoad function. Can you help me understand why the size differs for the same image between iOS and Android platforms?
Image link: https://image-placeholder.com/images/actual-size/75x75.png
IOS:
RNImage:ios load PNG image from url with strict size {"source": {"height": 25.333333333333332, "uri": "https://image-placeholder.com/images/actual-size/75x75.png", "width": 25.333333333333332}, "target": 3}
ANDROID:
RNImage:android load PNG image from url with strict size {"source": {"height": 76, "uri": "https://image-placeholder.com/images/actual-size/75x75.png", "width": 76}}
Description
Hello, I looked at the output of the
onLoad
function. Can you help me understand why the size differs for the same image between iOS and Android platforms? Image link:https://image-placeholder.com/images/actual-size/75x75.png
IOS:ANDROID:
Steps to reproduce
React Native Version
0.75.0-nightly-20240612-fd618819c
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
ANDROID:
Reproducer
https://github.com/bohdanprog/react-native-image-onLoad-prop
Screenshots and Videos
No response