Re: Very slow gdk_draw_pixbuf



From: Barry Demchak <vendors tpsoft com>

I am trying to use gdk_draw_pixbuf to render a .PNG into a window via a 
pixmap. (Actually, this is a much simplified case of trying to use librsvg 
to render into a window.)
[ ... ]
    pixbuf = gdk_pixbuf_new_from_file((gchar *) "mapserv.png", NULL);

How big is this image?
Even the file size would be small, the vector renderings can be huge
in pixels. X falls back to the network connection if the shared memory
is not large enough.

Juhana
-- 
  http://music.columbia.edu/mailman/listinfo/linux-graphics-dev
  for developers of open source graphics software



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]