Closed rogerallen closed 8 years ago
I'm trying to render some "portrait" framed images and the display with show is distorting the Y values. Saving the images to a file renders fine, though. But, this makes it hard to interactively preview as you can imagine.
show
Here's a checkerboard testcase:
(let [im (image (scale 0.5 (checker 0 1)) :width (* (/ 1080 10) 3) :height (* (/ 1920 10) 3))] (show im :width (* (/ 1080 10) 3) :height (* (/ 1920 10) 3)) (ImageIO/write im "png" (File. "test.png")))
And this is a screen capture showing "show" on the left and an image viewer on the right.
I'd expect they would match...also, I was hoping that I could just (show im) without the width/height settings, but that's less of an issue.
(show im)
This appears to have been fixed in v0.11.0
Closing.
I'm trying to render some "portrait" framed images and the display with
show
is distorting the Y values. Saving the images to a file renders fine, though. But, this makes it hard to interactively preview as you can imagine.Here's a checkerboard testcase:
And this is a screen capture showing "show" on the left and an image viewer on the right.
I'd expect they would match...also, I was hoping that I could just
(show im)
without the width/height settings, but that's less of an issue.