Re: cvs: php4 /ext/standard image.c
| From: | Rasmus Lerdorf | Date: | Wed, 16 May 2001 07:12:21 +0000 |
| Subject: | Re: cvs: php4 /ext/standard image.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5774@lists.php.net to get a copy of this message | ||
> the problem is that now we start parsing the jpeg-file with a
> 3-byte offset and not from the beginning. this was changed in
> order to allow GetImageSize work on remote images (no fseek()
> possible).
>
> i'm just not sure if this change(s alltogeter) won't break on
> other valid jpeg-images.
>
> the clean approach would be to buffer the 3 bytes that we
> need to identify the image as a jpeg and feed them back into
> the next_marker functions somehow.
But there can't really be a marker in the first 3 bytes, can there?
-Rasmus