api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

Getting an ImageRep from current view

Open thomthom opened this issue 6 years ago • 2 comments

It would be useful to be able to get an ImageRep object from a View. Currently we have view.write_image - which means writing to disk.

Seeing how we are able to get ImageRep from Texture and Image this would fall neatly into consistency with other part of the API.

This method might be named Sketchup::View#image_rep - consistent with the getters for Texture and Image.

It might also deserve an option to include what a tool might have drawn to the viewport - if possible.

thomthom avatar Dec 12 '18 13:12 thomthom

Relates to SKEXT-4018

thomthom avatar Jan 26 '24 13:01 thomthom

This would be useful, yes.

Matherone avatar Feb 10 '24 22:02 Matherone