multiplatform-markdown-renderer
multiplatform-markdown-renderer copied to clipboard
Markdown Images Cut on Android
About this issue
We are experiencing an issue with the library on Android, where it is cutting off the top of images that it is supposed to render. Despite our extensive efforts to troubleshoot and resolve the problem, we have not been successful. We have ensured that our use of the library aligns with the guidance provided in the Usage section of the README.md.
Steps to Reproduce
- Integrate the library into an Android project as per the instructions in the README.md.
- Attempt to render images using a Coil3 ImageTransformer, which is passed to the imageTransformer parameter. The ImageTransformer object utilizes coil3.compose.rememberAsyncImagePainter, and the painter is applied to the ImageData returned by the ImageTransformer.
- Observe that the top of the images is consistently cut off.
Expected Behavior
The images should be rendered in full without any cropping or cutoff at the top.
Versions
We are currently using Coil3 version 3.0.0-alpha06
Below is an example of images being cut by the library.
Any help would be greatly appreciated.
Details
- [x] Used library version
- [x] Used platform
Checklist
- [x] Searched for similar issues
- [x] Checked out the sample application
- [x] Read the README
- [x] Checked out the CHANGELOG
- [x] Read the FAQ
- [x] Checked out the MIGRATION GUIDE
Can you please provide a code example to reproduce this issue?
Alternative please also compare with v0.26.0 or v0.27.0-b01
Closing due to inactivity. please re-open if still relevant