Image is blank when taking picture of a big size view
See original GitHub issuefeature request
bug report
The image is not working properly when capturing an 8000 by 4000 view. The content of the image is blank.
Version & Platform
2.5.0
npm ls react-native react-native-view-shot #<- PASTE CMD RESULT IN HERE
Platform: iOS
Expected behavior
Be able to see the content of the 8000 by 4000 view
Actual behavior
Image is blank
Steps to reproduce the behavior
const styles = StyleSheet.create({
multipleImageWrapper: {
position: 'absolute',
bottom: 0,
top: Dimensions.get('window').height + 5,
},
flex: {
flex: 1,
backgroundColor: 'red',
},
fullImage: {
width: '100%',
height: '100%',
},
});
<View
collapsable={false}
style={[styles.multipleImageWrapper, {width: 4000, height: 8000}]}
ref={ref}
>
{images.map((image, i) => (
<View key={`${i}`} style={styles.flex}>
<Image
resizeMode="cover"
source={{
uri: image,
}}
style={styles.fullImage}
/>
</View>
))}
</View>
Issue Analytics
- State:
- Created a year ago
- Comments:11
Top Results From Across the Web
Why are some of my pictures showing up as blank? - iFixit
Hi,. Just go to settings>apps>gallery then press the 3 dots on the right top and press uninstall updates, it will tell you that...
Read more >Screen Black or photos fail to save when you attempt to take ...
If you attempt to take a photo and the screen is black, it means, barring the obvious that your device case is not...
Read more >Photos App opens with blank / black screen
The app opens with a black screen (I have dark mode on). I have to close and reopen image then comes up. Files...
Read more >Photos are loading as black boxes, empty boxes or broken ...
If you can't see photos on Facebook and you're seeing black boxes, empty boxes or broken images instead: Check if you have images...
Read more >my photos are coming out as blank jpg thumbnails on my ipad?
so i just got my ipad today updated to IOS 11 and I noticed some of my photos are a blank grey thumbnail...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to capture a long image using the option
useRenderInContext
Doesn’t exist