gdkpixbuf Questions

3

Solved

I know that Gdk-Pixbuf supports png and jpg, but I cannot find an exact list of all the completely (or partially) supported image formats anywhere on the internet. It is necessary for my current pr...
Mendicant asked 9/10, 2011 at 15:50

1

In my application I have a GtkImage that must show the processed image from a choosed file. So, in the handlers section I have: import numpy as np from PIL import Image , ImageDraw from gi.reposit...
Dominoes asked 7/4, 2015 at 21:40

2

Solved

I feel like this should be pretty simple, but I guess I am missing something. So I want to set the icon of a window with one of the stock images. I have tried: windowIcon = gtk.image_new_form_sto...
Bordy asked 21/4, 2011 at 15:56

3

Solved

I am having difficulty loading a file or displaying a colour in one of the columns of a Gtk TreeView (Python binding of GTK3). An example taken from QGIS shows a icon in the first row and a blue ci...
Starnes asked 2/1, 2015 at 16:53

2

Environment: Python3 Libraries: from gi.repository import Gtk, Gdk import cairo I want to create a 'pixbuf from file' but the method does not longer exist in Gdk3. pb = Gdk.pixbuf_new_from_fil...
Thermidor asked 19/5, 2013 at 17:36

2

How can I convert PIL Image in pixbuf?. I tried to change many examples but no solution import array from gi.repository import GdkPixbuf def image2pixbuf(self,im): arr = array.array('B', im.tost...
Bowman asked 26/4, 2012 at 21:56

1

Solved

I am trying to use GdkPixbuf.Pixbuf.new_from_data() as shown in gtk 2.x and I am passing 7 arguments. But it gives me an error that I need to pass 9 arguments. What I am doing now was working for...
Mycobacterium asked 23/4, 2012 at 16:28
1

© 2022 - 2024 — McMap. All rights reserved.