Re: [PHP] GD Library or PHP Function

2006-03-24 Thread tedd
On Wed, March 22, 2006 9:18 pm, brian dichiara wrote: Is there a way to check to see if a JPEG or PDF is color or black/white? Like a function or something? There does not appear to be a built-in function that does that... I don't know of any either, but that's the reason when I put an

[PHP] GD Library or PHP Function

2006-03-23 Thread brian dichiara
Is there a way to check to see if a JPEG or PDF is color or black/white? Like a function or something? Thanks for any help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD Library or PHP Function

2006-03-23 Thread Richard Lynch
On Wed, March 22, 2006 9:18 pm, brian dichiara wrote: Is there a way to check to see if a JPEG or PDF is color or black/white? Like a function or something? There does not appear to be a built-in function that does that... However, this hack should work: function image_is_color($image){