Hello,
I’m reading album art back from my iPod over the serial port. It is
coming back as 100x100 RGB 565, little endian. Is it possible to
display this data with Ruby/Gtk2 ? I’ve tried to create pixmaps, but no
luck. I’ve attached a raw dump of an album cover art.
Thanks in advance,
Matt
Hi,
does anyone know how I can load the Gnome desktop’s
file icons into my app? I have a directory tree
browser and I would like the icons in it to be the
same one’s as in e.g. Nautilus.
thanks
Dan
On lun, 2007-11-05 at 23:59 -0800, Daniel L. wrote:
Hi,
does anyone know how I can load the Gnome desktop’s
file icons into my app? I have a directory tree
browser and I would like the icons in it to be the
same one’s as in e.g. Nautilus.
I would use GnomeVFS to get the mimetype and then replace “/” with “-”
to get the icon name and try loading it with
Gtk::IconTheme.default.load_icon
Am Dienstag, den 06.11.2007, 02:21 +0100 schrieb Matt Barclay:
Hello,
I’m reading album art back from my iPod over the serial port. It is
coming back as 100x100 RGB 565, little endian. Is it possible to
display this data with Ruby/Gtk2 ? I’ve tried to create pixmaps, but no
luck. I’ve attached a raw dump of an album cover art.
Hi,
your data is not vallid. It has a size of 19980 Bytes.
An Image of 100x100 RGB 565 would have a size of 20000 Bytes
(1001002).
Cheers
detlef