i tried adding images to my
conky.lua with the following function
function drawimage(cr,img) image = cairo_image_surface_create_from_png (img) cairo_set_source_surface (cr, image, screen.x, screen.y) cairo_paint (cr) cairo_surface_destroy (image) end
conky my pc took a few minutes to get frozen. After a reboot I realized that
cairo_image_surface_create_from_png() function that eats my ram memory
I appreciate to know how to prevent that if possible and thanks.