Questions tagged [gdkpixbuf]
90 questions
1
vote
1 answer
unable to load TIFF images using gdk_pixbuf_loader
I wait to load images from memory (jpegs and tiffs) into gdk_pixbuf_loader_write(). I have sample/test code that loads jpegs just fine but fails to display tiff images. The tiff images open fine with other viewers (eye of gnome etc) so the tiff is…
![](../../users/profiles/5881979.webp)
Ray
- 21
- 3
1
vote
1 answer
How can I convert GOPixbuf strings to images
I have an XML file produced with Gnumeric that contains images, stored as GOPixbuf strings inside XML. They look like this:
eXyA/4KEiP9xcnf/f3+E/3l5ff9xb3L/jo2Q/29wdP+ [truncated]
For each string I have width and height, and a rowstride parameter,…
![](../../users/profiles/676192.webp)
simone
- 3,644
- 4
- 18
- 32
1
vote
1 answer
Gtk3 loading PixbufAnimation inside DrawingArea?
For the purpose of mine gstreamer application I tought about simple loader before I give a handle of DrawingArea widget to sink element.The basic idea was to load an animated .gif inside Gtk.DrawingArea but I run on the problem with documentation.I…
![](../../users/profiles/4337670.webp)
Haris Kovacevic
- 15
- 5
1
vote
0 answers
GdkPixbuf - Saving pixel data to file from Python
I am trying to save some pixels to a file using GdkPixbuf from Python in Windows. I am making use of the excellent PyGI AIO (3.14.0) binaries.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from gi.repository import Gtk, Gdk, GdkPixbuf
w, h, n = 4,…
![](../../users/profiles/191584.webp)
kloffy
- 2,878
- 1
- 23
- 32
1
vote
3 answers
GdkPixbuf returns "gi._glib.GError: Couldn't recognize the image file format"
I have a problem loading PNG images in Gtk3.
I have broken image symbols in my ToolButtons and after some investigation it appears that it comes from GdkPixbuf not being able to read the PNG files.
I have reproduced the problem with the python…
![](../../users/profiles/3679570.webp)
Michael Dussere
- 393
- 5
- 22
1
vote
1 answer
GTKMM :: Drawing multiple images using single Gdk::PixBuf in GTk::Drawing area
Hey All,
I am trying to draw live images in Gtk::DrawingArea in the same way as they are shown in monitors at railway stations, airports, metro etc..
For current tesing purpose I have hardcoded my code.
here it is
Gtk::Drawing area…
![](../../users/profiles/1583846.webp)
user1583846
- 63
- 2
- 6
1
vote
1 answer
Clutter actor content does not blend like it should
As ClutterTexture is now marked as deprecated, I followed the recommendation and replaced it with a ClutterActor that has it's content set to a pixbuf.
from gi.repository import Clutter, GdkPixbuf, Cogl
Clutter.init([])
stage =…
![](../../users/profiles/999193.webp)
Vindolin
- 714
- 6
- 11
1
vote
1 answer
How can I use P/Invoke to call a 64-bit C++ DLL from a 64-bit C# Application?
I'm working on some code that involves using P/Invoke to call unmanaged functions from a few C++ DLLs. I'd like to be able to build the application as either 32 or 64 bit.
Currently, it only works as x86.
I have 32 and 64 bit copies of each of the…
![](../../users/profiles/1539329.webp)
Patrick McCaffrey
- 237
- 2
- 12
1
vote
1 answer
How can I apply 3D-transformations to an image?
I am trying to (in code) take an image file and apply three dimensional transformations (think: perspective) to it.
The application I'm working on is written in C#, and I've already looked at the MSDN info on skewing/rotating images. Unfortunately,…
![](../../users/profiles/1539329.webp)
Patrick McCaffrey
- 237
- 2
- 12
1
vote
2 answers
Gdk::Pixbuf does not load images
I'm trying to load a *.jpg image into a Gdk:: Pixbuf, but it fails and keeps telling me: Error interpreting JPEG image file (Wrong JPEG library version: library is 62, caller expects 80)
try{
Gdk::Pixbuf::create_from_file(".../Test.jpg");
}
…
![](../../users/profiles/1876596.webp)
VoodooCode
- 287
- 2
- 15
1
vote
1 answer
Clutter-vala how to load texture
i'm trying to load a folder icon as a texture. i have tried almost everything now and i can't get it to work for some reason
i think this thread is just what i'm looking for but it's too advanced. i want it simple for now.
and for some reason i…
![](../../users/profiles/1780689.webp)
user69969
- 241
- 2
- 10
1
vote
0 answers
/bin/sh: 1: gdk-pixbuf-config: not found
I am trying to compile a C/C++ program which is based on gdk-pixbuf, during compilation i get error "/bin/sh: 1: gdk-pixbuf-config: not found"
I got below packages currently, kindly guide, what i am missing? I am using Ubuntu 12.04, 32 bit
dpkg -l |…
![](../../users/profiles/1012551.webp)
Saqlain
- 15,990
- 4
- 25
- 33
1
vote
1 answer
Create a gtk.gdk.Pixbuf from binary data
I am struggling to get binary data into a gtk.gdk.pixbuf.
This should illuminate my problem:
file = open("image.jpg", "rb")
//Ultimately this is going to come from a BLOB
binary = f.read()
//I created a pixbuf directly from the jpg
//and took the…
![](../../users/profiles/694195.webp)
jsj
- 7,900
- 13
- 51
- 90
1
vote
2 answers
Convert GIcon into GdkPixbuf
I'm using the GAppInfo/GDesktopAppInfo.
GIcon *icon = gtk_app_info_get_icon (G_APP_INFO(appinfo));
Now I need to put it on a GtkIconView but I found that there is no way to create a GdkPixbuf from GIcon. Anyone knows this? Thanks very much!
EDIT 1:…
![](../../users/profiles/1575641.webp)
ekd123
- 475
- 7
- 16
1
vote
1 answer
Merging gtk subpixbufs
I'm presently playing with gtk.pixbuf in python. In the API, the subpixbuf function is described as returning a pixbuf that shares data with the original pixbuf :
The subpixbuf() method creates a new gtk.gdk.Pixbuf that represents a sub-region of…
![](../../users/profiles/1388292.webp)
Jacques Gaudin
- 12,304
- 3
- 40
- 64