Convert component to image

Component To Image | Free

You can convert any component to image. Take screenshot of specific component or screen

#Tools

šŸ“¦ 4.79 KB
šŸ“ com.jerin.s2b.ComponentToImage

Permissions :

WRITE_EXTERNAL_STORAGE

What's New šŸ˜

šŸ†• Save image to ASD in Android 10

šŸ†• Create image of scroll arrangements and screens

ā€¢ Reduced size 5kb

Blocks

ConvertToImage

Method for convertToImage

component component component or screen to create image
saveAs text filename or path to save

Created

Event raised after image created and saved

filePath text complete path to file saved

Sample


Rebuild with Rush-cli by Shreyas

šŸ‘‡šŸ½ Download Extension

Documentation generated with Getaix

7 Likes

Thanks for the update.

I can't get it to work with just a Label component, it throws this error in companion (Android 7 and 10)

image

2 Likes

I think @Jerin_Jacob should cast textview to a view and not viewgroup i think?

1 Like

It's because the extension needs an arrangement and not any AndroidViewComponent.

In the past you could use every component. I used it with a canvas also. Didn't test this version yet.

2 Likes

Thank you for reporting.

The issues has been resolved

Download new version or old version from

Feel free to report bugs if found.

Thank you
Jerin Jacob

2 Likes