Reply to Re: Can't upload BMP files

Re: Can't upload BMP files new!
by colin, 17 years, 11 months ago
While I agree that the message is confusing (after all, BMP is an image format), the class should fail if your script request image manipulations on a bitmap.

The thing is, in order for the class to detect a BMP, I would have to open the file and read the first few bytes to check what type of file it is (a BMP file's first two bytes must be BM). So far, if the image can't be read by GD, it is considered as not being an image at all.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important