inst/examples/gdk-pixbuf-File-saving-3.R

contents <- readBin("/home/hughsie/.color/icc/L225W.icm", what="raw")
contents_encode <- RCurl::base64(contents)
pixbuf$save(handle, "png", "icc-profile", contents_encode)

Try the RGtk2 package in your browser

Any scripts or data that you put into this service are public.

RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.