ImageCreate() creates a palette based image. The numbers of colors is thus limited to 256. Where as the function name suggests ImageCreateTrueColor() creates a true color image.
You will have to test out the functions you want to use with these two. There is no better solution. good luck Paradox. "Natalie Leotta" <[EMAIL PROTECTED]> wrote in message 7546CB15C0A1D311BF0D0004AC4C4B0C024ABF8D@SSIMSEXCHNG">news:7546CB15C0A1D311BF0D0004AC4C4B0C024ABF8D@SSIMSEXCHNG... > Hello, > > I'm making an Image and I was wondering what the difference is between these > two Image constructors. I need to find a way to make dotted and dashed > lines (according to different patterns I've been given) and I want the > sections between the dots to be transparent. I'm planning on using the > ImageSetStyle function. From what I read on PHP.net, some things cannot be > used with ImageCreateTrueColor, but it looks like some can only be used that > one. > > One thing I'm interested in is the constant IMG_COLOR_TRANSPARENT - can this > be used with ImageCreate? > > Is there a reason I should use one of the constructors over the other? > > Thanks! > > -Natalie > > > Natalie S. Leotta > Information Management Services, Inc. > (301) 680-9770 > [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php