[PHP] Getting an RGB value of a pixel (JPEG)

2002-02-19 Thread Baumann Reto
Hi there I have to get an RGB value of a specified pixel in an JPEG image. This image uses 24bit per pixel (so is true-color). How could this be done? Thanks a lot Reto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting an RGB value of a pixel (JPEG)

2002-02-19 Thread Rasmus Lerdorf
ImageColorsForIndex() and ImageColorAt() But you will PHP 4.1 for these functions to work with TrueColor images. -Rasmus On Tue, 19 Feb 2002, Baumann Reto wrote: Hi there I have to get an RGB value of a specified pixel in an JPEG image. This image uses 24bit per pixel (so is