Commit Graph

758 Commits

Author SHA1 Message Date
Pierre Joye
154507f6bc - #37360, bad gif size 2006-05-08 11:49:33 +00:00
Pierre Joye
9d07689c67 - CS (spaces > tabs) 2006-05-08 11:46:13 +00:00
Pierre Joye
fc91929f94 - MFB: #37346, invalid colormap format 2006-05-07 17:21:11 +00:00
foobar
b8cdb46cce - More safe_mode left-overs. 2006-04-11 11:32:06 +00:00
Pierre Joye
ff2822a82b - MFB: #36697, truecolor image lost im->transparent 2006-03-14 03:46:59 +00:00
Pierre Joye
cb076717e2 - MFB: #36686, do not be quiet with the extern GD 2006-03-10 18:15:21 +00:00
Pierre Joye
f4ea8372a4 - revert Harmut commit, Histogram implementation not correct and no idea
where you got the ok to add that
2006-03-05 19:20:12 +00:00
Hartmut Holzgraefe
dd659ea648 - fixed size information for _php_sig_png array
- removed extra memcmp step in signature comparison,
  this seemed to have been inherited from ext/standard/image.c
  but is not needed here as the provided buffer is big enough
  from the start
2006-03-05 18:26:12 +00:00
Hartmut Holzgraefe
05fa58f84e added ImageColorHistogram function 2006-03-05 18:23:47 +00:00
Andi Gutmans
c28cff57d1 - Couple of compile fixes. 2006-02-19 05:05:42 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Pierre Joye
d78e8d749c - test for jpeg support 2006-02-05 15:53:02 +00:00
Pierre Joye
ccaa5eaab2 - remove libjpeg direct output and wrap them in php warnings 2006-02-04 14:56:58 +00:00
Pierre Joye
bc436e2fd3 - add a weak/tolerant mode to the jpeg loader
* new INI option to enable it (off by default)
   gd.jpeg_ignore_warning (0|1)
 * The default mode is the current behavior
 * if the warning mode is enabled, the image may be loaded succesfully
   but the jpeg warnings will be raise as notices
2006-02-02 20:30:54 +00:00
Michael Wallner
64d4c588ad MF5_1: include png.h prior php.h 2006-01-27 20:48:42 +00:00
Pierre Joye
2901af230c - add PNG filter constants 2006-01-27 18:05:26 +00:00
Pierre Joye
64d07968de - add filter mode support for imagepng
imagepng("file", $comp_mode, $filter_mode);
  The filters are defined in the libpng docs for png_set_filter
  allow to divide the size of png images by more than 2. Constants
  will be added later

  BC kept, by default no filter are set

Fine to MFH? With the constants?
2006-01-27 01:59:26 +00:00
foobar
644ca88100 - Fixed bug #Â36110 (missing sanity checks for external build) 2006-01-20 21:58:17 +00:00
Antony Dovgal
7bf63ad49b improve open_basedir checks in GD 2006-01-17 23:49:14 +00:00
Pierre Joye
2179e33f14 - MFB: imagecolorallocate* returns false on error 2006-01-17 16:34:58 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Pierre Joye
e45ec1e460 - ensure that x1<x2 or y1<y2 2005-12-30 09:53:05 +00:00
Pierre Joye
3afdc2e490 - add some basic optimisations, usefull when you draw many horizontal or
vertical lines like in charts
2005-12-30 01:19:32 +00:00
Ilia Alshanetsky
1da0da0986 MFB51: Not a fatal error. 2005-12-29 22:00:09 +00:00
Pierre Joye
180aa52fea - remove HAVE_LIBGD20, we support only 2.0+ now
(some were removed by my previous commit)
2005-12-27 00:16:05 +00:00
Pierre Joye
7261a0317b - silent compile warning introduced by previous commit 2005-12-27 00:11:16 +00:00
Pierre Joye
954a2823a6 - HAVE_GD_DYNAMIC_CTX_EX, always defined 2005-12-26 21:46:56 +00:00
Pierre Joye
53973f97d0 - check for jpeg support 2005-12-26 21:41:37 +00:00
Pierre Joye
422d9180d1 - remove HAVE_LIBGD204, always set 2005-12-26 20:44:19 +00:00
Pierre Joye
efcdf4ea4d - remove USE_GD_IOCTX, both bundled and extern lib use IOCTX 2005-12-26 20:34:42 +00:00
Pierre Joye
f728cb07e6 - basic gif i/o test 2005-12-26 19:11:51 +00:00
foobar
4cbffe865e fix test 2005-12-26 18:30:12 +00:00
Pierre Joye
7074d0c2bf - imagetypes test
- copyresized title
2005-12-26 17:15:51 +00:00
Pierre Joye
ab24e85893 - copyresized basic test
more once imagediff is available
2005-12-26 12:05:36 +00:00
Pierre Joye
5f018ca382 - add colorclosestalpha tests 2005-12-25 22:02:53 +00:00
Pierre Joye
1b6d773657 - add colorresolvealpha to colorresolve tests
- update colormatch
2005-12-25 21:45:04 +00:00
Pierre Joye
76f28deeeb - raise warning instread of errors in colormatch 2005-12-25 20:32:25 +00:00
Pierre Joye
65df8e80ea - fix leak/segfaults in imagecolormatch
- add tests for imagecolorexact and imagecolormatch
  The later is only about the segv
2005-12-25 19:21:58 +00:00
Pierre Joye
49f0d6b8c2 - add truecolortopallete and istruecolor test
- titles for colorclosest/resolve...
2005-12-24 14:05:20 +00:00
Pierre Joye
439eaf24d6 - fix titles
- function check
2005-12-24 14:01:54 +00:00
Pierre Joye
2ca0c5abb7 - remove HAVE_GDIMAGECOLORRESOLVE here too (w32) 2005-12-22 23:25:06 +00:00
Pierre Joye
c13515dd1f - add tests for:
- imagecolorclosest
 - imagecolorresolve
 - imagecopy
 - imageline
 -imagesetstyle and dashed line
- remove HAVE_GDIMAGECOLORRESOLVE, always present
2005-12-22 23:22:26 +00:00
Ilia Alshanetsky
1014cb28c2 MFB51: Fixed uninitialized variable in a test. 2005-12-17 19:58:02 +00:00
Pierre Joye
4abc190946 - remove HAVE_LIBGD15, always set 2005-12-16 19:21:55 +00:00
Pierre Joye
cc938b5df0 - fix leaks and wrong error when invalid/empty string are given to
imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-16 19:02:07 +00:00
Pierre Joye
366f2ee161 - adieu HAVE_LIBGD13
- add imagecolorat tests (truecolor and palette)
2005-12-16 17:02:30 +00:00
Pierre Joye
ca7270ffa2 - add wbmp read/write tests
- remove HAVE_GD_WBMP, always available
2005-12-14 22:33:34 +00:00
Pierre Joye
aa3fe56fb9 - correct title 2005-12-14 19:50:42 +00:00
Pierre Joye
0ab721ab1d - remove HAVE_GD_GD2 on windows as well 2005-12-14 19:12:57 +00:00