api-issue-tracker
api-issue-tracker copied to clipboard
Getting an ImageRep from current view
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.
Relates to SKEXT-4018
This would be useful, yes.