Re: [gtk-list] Easy way to reverse a gtk_pixmap?
- From: Arthur Jerijian <lightmanaj earthlink net>
- To: Pedro Morais <pmmm rnl ist utl pt>, gtk-list redhat com
- Subject: Re: [gtk-list] Easy way to reverse a gtk_pixmap?
- Date: Fri, 22 Oct 1999 08:01:38 -0700
You might want to look into the GdkMagick package
(http://home.earthlink.net/~lightmanaj/GdkMagick). This package will allow you
to take a GdkPixmap and export it into an ImageMagick image. You can then use
the ImageMagick API to negate the image and GdkMagick to convert the image back
to a GdkPixmap.
Be sure to take a look at the functions gtk_pixmap_set and gtk_pixmap_get for
more information on working with GdkPixmap objects within a GtkPixmap widget.
Thanks,
--Arthur
On Fri, 22 Oct 1999, Pedro Morais wrote:
> Hi!
>
> Is there any easy way to (temporarily) reverse a gtk_pixmap; that is, every
> white pixel becomes black and every black pixel becomes white.
>
> Thanks in advance.
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]