Re: load png
| From: | Joel De Gan | Date: | Mon, 13 Dec 2004 16:21:39 +0000 |
| Subject: | Re: load png | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5354@lists.php.net to get a copy of this message | ||
Also note, just loading png's without gd or something you are going to
be on your own.
You *could* use imagemagick "convert" or something, however having
done a lot of work with masks you need to be pretty specific on how
the images are converted if you want the mask to show correctly.
Anyway, the xpm image functions in the url below should at least get
you on your way to seeing how the masks work.
-joeldg
On Mon, 13 Dec 2004 11:11:18 -0500, Joel De Gan <joeldg@gmail.com> wrote:
> http://lucifer.intercosmos.net/tut/
> is some stuff I did that might help.
>
> -joeldg
>
>
>
>
> On Mon, 13 Dec 2004 09:19:46 -0600, dpgirago@mdanderson.org
> <dpgirago@mdanderson.org> wrote:
> > Christian Weiske wrote on 12/12:
> >
> > > Hi
> >
> > > I know there was a code snipped which loaded png files and created a
> > > pixmap/pixmask from it. Does somebody have it - I can't find it?
> >
> > > PS: *no* imagemagick or gd thing - it was a function which read the pure
> >
> > > png itself
> >
> > Christian,
> >
> > I found some code examples from this list for an xpm array that created a
> > pixmap with a masked area, but none for png files...
> >
> > Sorry,
> >
> > dave
> >
>