[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: JPG Image in print context
- From: "ADIS - CPD" <jorge adis com br>
- To: <gtk-perl-list gnome org>
- Subject: Re: JPG Image in print context
- Date: Thu, 28 Apr 2005 11:52:33 -0300
Subject: Re: JPG Image in print context
> Hi,
>
> On Wed, 2005-04-27 at 17:05 -0300, ADIS - CPD wrote:
> > How to put a jpg image in a Gnome2::Print::Context???
>
> You have these methods:
>
> Gnome2::Print::Context::grayimage
> Gnome2::Print::Context::rgbimage
> Gnome2::Print::Context::rgbaimage
>
> To which you must pass the pixel buffer (255 value marking and one-byte
> per pixel, three-byte per pixel and four-byte per pixel, respectively).
> So, you must convert a JPEG image to the appropriate buffer (using
> pack).
Whats the format of pack to covert it?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]