Handbook
Glossary
image>GdkPixbuf ( image -- GdkPixbuf )
Vocabulary
images
.
loader
.
gtk
.
private
Inputs
image
an
object
Outputs
GdkPixbuf
an
object
Definition
USING:
accessors
combinators
gdk2.pixbuf.ffi
images
kernel
math
sequences
;
IN:
images.loader.gtk.private
:
image>GdkPixbuf
( image -- GdkPixbuf )
{
[
bitmap>>
]
[
drop
GDK_COLORSPACE_RGB
]
[
has-alpha?
]
[
component-type>>
bytes-per-component
8
*
]
[
dim>>
first2
]
[
rowstride
]
}
cleave
f
f
gdk_pixbuf_new_from_data
;