search for: image_convert

Displaying 1 result from an estimated 1 matches for "image_convert".

Did you mean: image_content
2020 Jul 09
0
Is this surprising behavior of tkimage.create function a bug?
...-------------------------------------------------------------- library(tcltk) library(magick) # works fine tmp <- tempfile(fileext = ".gif") image_write(logo, tmp) image_tcl <- tkimage.create("photo", "image_tcl", file = tmp) # doesn't work fine logo2 <- image_convert(logo, format = "jpeg") tmp2 <- tempfile(fileext = ".jpg") image_write(logo2, tmp2) image_tcl <- tkimage.create("photo", "image_tcl2", file = tmp2) ------------------------------------------------------------------------------------ The last line return...