Ilia Alshanetsky
5316f7bf25
Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
2004-10-04 20:42:30 +00:00
Anantha Kesari H Y
bc90ecb7e2
removed unwanted NEW_LIBC checks
2004-09-25 14:46:24 +00:00
Derick Rethans
318be175a4
- Added a notice to getimagesize in case zlib is not available and a compressed
...
SWF movie has been passed to the function.
2004-08-11 12:33:03 +00:00
Ilia Alshanetsky
972940509f
Fixed bug #29443 (Sanity check for wbmp detection).
2004-07-30 01:10:41 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Marcus Boerger
4911e83bec
Check validity of seeks.
...
WS/CS
2003-12-15 22:47:37 +00:00
Ilia Alshanetsky
e898ae955e
Added image_type_to_extension() function.
2003-11-27 22:03:35 +00:00
Marcus Boerger
81d1a19d0b
Bugfix #26216 : ("getimagesize(): stream does not support seeking" when
...
using remote files)
2003-11-12 22:51:22 +00:00
Marcus Boerger
ee0f709e4b
- Fixed bug #25581 (getimagesize () return incorrect values on bitmap
...
(os2) files)
2003-10-25 14:06:29 +00:00
foobar
5e40faa1d6
- Fixed bug #25211 (image.c compile failure with AIX)
2003-09-09 19:25:55 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Marcus Boerger
c34fde086b
a little bit slower but somewhat tricky and more flexible and it does not
...
allocate static buffers anymore
2003-02-14 19:43:06 +00:00
foobar
a91a14ab16
ws fix
2003-02-13 07:02:53 +00:00
foobar
a09e1397c7
Fixed compile failures when ZLIB / PCRE are compiled as shared
...
extensions in same build.
2003-02-09 19:09:52 +00:00
Marcus Boerger
3e675c1cf4
avoid warnings
2003-02-01 23:38:29 +00:00
Marcus Boerger
27ccc66518
@Added XBM support for GetImageSize(). (helly)
2003-02-01 23:14:13 +00:00
Ilia Alshanetsky
758ea308a9
Fixed compiler warning.
2003-01-25 00:23:03 +00:00
Ilia Alshanetsky
71e9f8cdd5
Removed pointless memory allocation checks.
2003-01-18 20:01:46 +00:00
Marcus Boerger
973c5fa1ec
fix jp2 detection and add testfile
2003-01-17 18:51:30 +00:00
Marcus Boerger
8958762de6
- corrected error in file detection for very small files
...
- JPEG 2000 support, mostly Adam Wright <adam@elysium.ltd.uk>
@Enhanced jpeg 2000 support for GetImageSize(). (marcus, Adam Wright)
2003-01-16 19:45:26 +00:00
foobar
66fd5008ab
Fix the ZTS build.
2003-01-09 00:15:33 +00:00
Ilia Alshanetsky
072be90d6f
Added support for WBMP images.
2003-01-08 20:36:03 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Marcus Boerger
19d5e535c0
Remove unnecessary code here
2002-12-05 15:52:20 +00:00
Marcus Boerger
373361d9c4
Return FALSE on error as mentioned by John Coggeshall.
...
See Bug #20822
2002-12-05 12:39:00 +00:00
Ilia Alshanetsky
7751c4f549
Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc
...
files is not available.
2002-11-19 21:24:47 +00:00
Marcus Boerger
a3d821c695
Added colordepth for png
2002-11-18 16:50:10 +00:00
Marcus Boerger
25456939b3
Fixing unsigned/signed problems (and i thought about it before...)
2002-11-18 15:49:06 +00:00
Derick Rethans
e93f1c00c6
- Remove outdated GPL clause; the file was totally rewritten
2002-11-18 15:45:27 +00:00
Marcus Boerger
a3157908a8
Make getimagesize more robust against corrupt files
2002-11-16 17:02:07 +00:00
Ilia Alshanetsky
619fc2c3c0
Data manipulation (for big endian transformation) should occur after the
...
data has been read from file.
2002-11-12 16:14:18 +00:00
Ilia Alshanetsky
d28e3d9dc5
Fixed prototype of image_type_to_mime_type(), bug #20094 .
2002-11-08 03:04:23 +00:00
Ilia Alshanetsky
15fb290edc
Fixed a crash in image_type_to_mime_type(), when a non integer value is
...
passed to the function.
Fixed Width/Height detection of bmp files on big endian systems.
Added bit depth detection for bmp files.
2002-11-07 16:37:46 +00:00
Ilia Alshanetsky
869c42a511
Added additional handlers for compressed swf files, which require
...
entire file to be downloaded for successful decompression.
2002-09-18 20:37:24 +00:00
Anantha Kesari H Y
0ea12a47ab
NetWare related additions/modifications
2002-09-06 06:39:57 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
foobar
48634e4026
- Fixed compile (bug #18297 ) on such systems which define uchar.
2002-07-12 22:34:43 +00:00
Derick Rethans
728f2de442
Unify error messages
2002-07-08 12:52:22 +00:00
Derick Rethans
d73eed9210
- No C++ comments
2002-07-01 18:52:30 +00:00
Marcus Boerger
43ec2dfa59
bits/channels for gif
2002-06-25 21:22:14 +00:00
Marcus Boerger
ba6498e4c5
missing return value
2002-06-24 22:00:22 +00:00
Marcus Boerger
cccc4e3c5a
register IMAGETYPE_<xxx> constants in image.c as they are needed
...
there.
2002-06-24 19:36:26 +00:00
Marcus Boerger
48bdf08edb
@GetImageSize now allways set fields unknown to 0 and new Imagetype
...
@iff. (Marcus)
2002-06-24 19:19:08 +00:00
Marcus Boerger
1f56d4ba08
-imagetype2mimetype renamed to image_type_to_mime_type
2002-06-23 00:43:11 +00:00
Marcus Boerger
c8f1529d08
@GetImageSize now returns additional index 'MimeType' and new function
...
@imagetype2mimetype to convert php imagetypes to mime-types. (Marcus)
#the reason why i export php_imagetype2mimetype is that i use that for
#exif, too. Followup example will explain why.
2002-06-22 18:14:39 +00:00
Marcus Boerger
d4b1909afe
ws fix
2002-06-22 17:09:28 +00:00
Derick Rethans
de2c71e7cb
- Added support for compressed SWF (Flash MX) files to getimagesize().
...
(Fixes feature request #17272 ).
@- Added support to getimagesize() for compressed Flash MX files. (Derick)
2002-05-23 21:48:27 +00:00
Sascha Schumann
9e91566179
entry_length was set but never used
2002-05-04 17:24:08 +00:00
Marcus Boerger
628e639c08
fix warning
2002-04-11 07:26:53 +00:00
Wez Furlong
659a071e3d
Streams are all tracked as resources now.
...
Add some logic that will help track down leaks
when debug is enabled.
2002-03-20 14:21:30 +00:00