paparazzi icon indicating copy to clipboard operation
paparazzi copied to clipboard

Removes requirement to render entire device Screen

Open rharter opened this issue 2 years ago • 4 comments

This adds support for RenderMode.SHRINK, allowing you to make view-only screenshots without saving an entire device frame.

rharter avatar Jul 13 '22 22:07 rharter

Since there were significant structural changes I've updated this PR based on the latest master branch.

Thanks for your feedback, @liutikas, I've resolved your comments since the files have moved, but I did add the requested comments.

rharter avatar Aug 03 '22 16:08 rharter

@jrodbx Anything preventing this from going in?

rharter avatar Aug 10 '22 20:08 rharter

It's on the queue for review, there's some other stuff I'd like to get in first + internal feature work to deliver. Hope to have a look soon.

jrodbx avatar Aug 10 '22 21:08 jrodbx

For what's worth androidx would love this feature to make 1.1 as well

liutikas avatar Aug 11 '22 04:08 liutikas

I'll follow up with a PR to migrate the test as a plugin test, but this is great. thanks!

jrodbx avatar Dec 13 '22 17:12 jrodbx

Should this work with Compose?

JavierStuart avatar Jan 31 '23 11:01 JavierStuart

We use it with Compose views without issues. If you're having a specific failure perhaps open an issue?

rharter avatar Jan 31 '23 12:01 rharter