Commit Graph

771 Commits

Author SHA1 Message Date
Pierre Joye
96aedc6efd - add support for entities in hexadecimal format, like © can
be passed as &#169 or ©
2006-08-23 20:21:34 +00:00
Pierre Joye
8019b9d264 - please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:05 +00:00
Antony Dovgal
eeede0fa1e implement my own FR #36995
nuke unused variable
2006-08-01 22:41:33 +00:00
Pierre Joye
dfb431b7c5 - MFB #38214, gif interlace never worked 2006-07-26 10:03:41 +00:00
Pierre Joye
58cb2cd8b4 - mv 38179.phpt to bug38179.phpt 2006-07-26 08:58:31 +00:00
Pierre Joye
8c0dc5a856 - #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:51:53 +00:00
Pierre Joye
5b02056c23 - MFB: #38179, imagecopy, palette to truecolor must use alpha channel too 2006-07-23 21:48:18 +00:00
Nuno Lopes
8aafe02cc9 MFB 2006-07-22 15:16:40 +00:00
Pierre Joye
004ed49028 - MFB: #38112, corrupt GIF Image segfault 2006-07-17 15:08:46 +00:00
Hannes Magnusson
12fbcb6344 nuke types in arginfo 2006-07-02 00:10:36 +00:00
Hannes Magnusson
284ad23f60 Add array type hinting
Remove unnecessary array checkes
2006-06-15 16:25:12 +00:00
Hannes Magnusson
66ad36259b Revert array type hinting 2006-06-15 15:31:39 +00:00
Hannes Magnusson
3b36c0e4d8 Added argument info
Fixed protos & vim folding
2006-06-11 19:59:53 +00:00
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