doodle icon indicating copy to clipboard operation
doodle copied to clipboard

Convert `Picture` to `BufferedImage`

Open noelwelsh opened this issue 6 years ago • 2 comments

Create a stable Java2D specific method to convert a Picture to a BufferedImage. This will allow fun pixel art in conjunction with #85. This should be a new kind of effect type class, I think.

We already have a ToPicture type class. Perhaps FromPicture is the natural counterpart here? Not sure they would be symmetric though---rendering a picture is an effect but converting to a picture is not.

noelwelsh avatar Nov 22 '19 02:11 noelwelsh

Hi Noel, Is this what is needed here?? https://stackoverflow.com/questions/13605248/java-converting-image-to-bufferedimage

fireddd avatar Nov 16 '21 20:11 fireddd

That's not really the issue. This is about having a way to convert the Picture type in Doodle into a BufferedImage. All the code already exists, it just needs to presented in a stable API.

noelwelsh avatar Nov 18 '21 16:11 noelwelsh