Re: Gnome2::Print images.




On Jul 25, 2005, at 5:47 PM, ADIS - C.P.D. wrote:

Hello everybody,

Why I can't print a image using method "rgbimage"?

$pc->rgbimage ($pixbuf->get_pixels, $pixbuf->get_width, $pixbuf-
>get_height, $pixbuf->get_rowstride) always fails.

No errors messages are displayed, but image never appears.

What do $pixbuf->get_pixels and friends actually return?  Does

length($pixbuf->get_pixels) <= ($pixbuf->get_height * $pixbuf->get_rowstride)
evaluate to TRUE?

Yes, both are 14400.

 Is $pixbuf->get_width > 0 ?

$pixbuf->get_width = 100.


Did you ever have success after this thread?
http://mail.gnome.org/archives/gtk-perl-list/2005-April/msg00218.html


After this thread, i have posted:
http://mail.gnome.org/archives/gtk-perl-list/2005-April/msg00222.html, and
http://mail.gnome.org/archives/gtk-perl-list/2005-April/msg00226.html

No success yet.
Thanx.



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