Commit Graph

80 Commits (02ae7c20079a64e8c809108deb1a0d50d816c9dd)

Author SHA1 Message Date
tabe 6773f8b742 fixed FS#191; draw the center line regardless of thickness. 2009-01-18 12:46:38 +00:00
tabe dafdcaf5e4 optimization via the row-major order. 2008-11-30 08:34:37 +00:00
tabe b14559beb7 added gdImageColorReplaceThreshold. (see FS#170)
- added gd_color.[ch] for internal use
2008-11-23 14:32:35 +00:00
tabe 0e4c3ed7a6 optimized gdImageColorReplace*() 2008-11-20 15:24:48 +00:00
tabe fc32e572cd added gdImageColorReplace, gdImageColorReplaceArray, and gdImageColorReplaceCallback. (see FS#170) 2008-11-16 03:25:33 +00:00
pajoye c00717b1b6 - #145, Leak in gdImageCopyResized (Patch by Brent Bottles) 2008-02-01 01:48:17 +00:00
pajoye e9983b02b2 - #50, add gdImageEllipse (test to come) 2007-12-12 16:30:33 +00:00
pajoye daac285cd6 - #81, MFB, gdImageCopy ignores the transparent color 2007-11-20 13:43:35 +00:00
mattias 234498d77c -MFB, #113, gdImageColorTransparent can write outside buffer 2007-09-09 13:14:25 +00:00
mattias 841d43d812 -MFB #112, More checking 2007-09-01 12:35:18 +00:00
mattias eaaa940127 -MFB #112, gdImageColorDeallocate can write outside buffer 2007-08-31 07:43:58 +00:00
mattias 2c08342866 - #111, Optimization for single pixel line not in correct order 2007-08-30 19:03:06 +00:00
pajoye 1e3d5f1e70 - MFB: #106, gdImageRectangle draws 1x1 rectangles as 1x3 rectangles 2007-08-26 19:46:19 +00:00
mattias 8734260c30 - it has come clear that nc can be negative afterall 2007-08-08 19:51:06 +00:00
mattias 7fc83cfdca - Fixed fix :) 2007-08-08 18:28:55 +00:00
mattias 27b3f3086d - nc in gdImageFill sould not be less than 0 2007-08-08 18:16:44 +00:00
mattias 5008306b0d - #109, Possible integer overflow in gdImageFill() 2007-08-08 12:57:18 +00:00
pajoye a5550a7a70 - #94, gdImageCreateXbm can crash if gdImageCreate fails 2007-06-19 20:25:32 +00:00
nlopess 96f5a6d464 add const to gd internal tables (gdCostT, gdSinT, UnicodeTbl) 2007-06-17 22:11:20 +00:00
nlopess 9d05dd439d plug a memleak in _gdImageFillTiled() on error condition
replace a malloc+memset with calloc instance
2007-06-17 18:56:28 +00:00
nlopess 86a5debede improve _gdImageFillTiled() internal function:
mark it as static
fix possible segfault if calloc() failed
save a lot of temporary memory
# this is the remaining patch for bug #41
2007-06-15 19:34:31 +00:00
pajoye 39eb8e6c77 - WS 2007-06-14 19:23:57 +00:00
pajoye b78a0cdbdd - #89, Possible integer overflow in gdImageCreateTrueColor 2007-06-09 12:32:25 +00:00
pajoye 57d7bf4a6a - #79, MFB:
- fix hline and vline calls
  - add test case
2007-05-07 10:26:44 +00:00
pajoye 43d4d06d3e - Sync HEAD with GD_2_0
- Begin 2.1.0 work (mark it as 2.1.0 :)
2007-05-06 19:53:05 +00:00
pajoye ea7c2cdc12 - MFB: #67, Preferable calls of gdFree() in libgd
(tabe at fixedpoint dot jp)
2007-05-06 18:46:45 +00:00
pajoye 1f29704cca - MFB: #74, gdImageFilledArc, huge CPU usage with large angles 2007-05-06 18:43:06 +00:00
pajoye 69f5990829 - MFB: #77, gdImageLine does not draw all vertical lines 2007-05-06 18:41:36 +00:00
pajoye 68d55ca60b - MFB: #78,gdImageFilledRectangle() draws nothing with reversed points
(x1,y1) > (x2,y2)
2007-05-06 18:12:48 +00:00
pajoye 07bfd3f8e9 - MFB: ansi/windows build fix, all declarations must be on top (Edin) 2007-02-07 00:24:54 +00:00
pajoye 3d96fcd4c4 - MFB: #14, sanity check 2007-02-03 01:03:41 +00:00
pajoye 9f07c10266 - #32, Pattern-fill works incorrectly if tile is created
via gdImageCreateTruecolor (Ethan Merritt)
2007-01-29 21:56:37 +00:00
pajoye 3aea4c25df - #4, gdImageFill rewrite fix, small images (< 4 pixels) crash 2007-01-20 02:09:37 +00:00
pajoye 5cc903a073 #37, gdImageFillToBorder crashes when used with alpha 2007-01-20 02:02:35 +00:00
pajoye 4770e2b2d5 - add sanity checks for alloc error in gdImageFill 2007-01-05 04:11:10 +00:00
pajoye e5dac8c87c - #14, sanity check for memory alloc error in gdImageCreateTrueColor 2007-01-04 12:36:40 +00:00
pajoye 30a36c242c #23, Added sanity checks for possible allocation failures in
gdImageFilledPolygon and gdImageSetStyle
#24,  Out of range checks in gdImageSetAAPixelColor
2007-01-03 20:45:58 +00:00
pajoye 677d728dbb #22, missing immplementation 2007-01-03 20:38:53 +00:00
pajoye 26adab01fa #22, Fixed transparency preservation in gdImageCopyRotated 2007-01-03 20:34:50 +00:00
pajoye ff8afda831 #21, gdImageCopyResized sanity check for allocation failures 2007-01-03 20:31:29 +00:00
pajoye 4c8ce1020a #20, Fixed gdImageCopyMergeGray when used with a true color image 2007-01-03 20:25:16 +00:00
pajoye d0e9edfe4f #19, Use abs instead of fbas in HWB_Diff (Nick Atty) 2007-01-03 20:18:11 +00:00
pajoye cfee163a5e - #18, Removed invalid gdFree call when overflow2 fails
- #17, Free im->pixels as well on error
2007-01-03 20:09:01 +00:00
pajoye 55d5bcb87a - #16, Added sanity checks in gdImageCreate for possible allocation
failures (John Ellson/Graphviz)
2007-01-03 19:42:12 +00:00
pajoye b2e200658d - #7, gdImageCopy does not respect alpha (2/2) 2006-11-08 12:23:24 +00:00
pajoye ada1a438e1 - #10, gdImageFilledEllipse does not respect transparency (rewriten) 2006-10-10 00:40:41 +00:00
pajoye 05c826bd50 - #7, imagecopy doen't copy the alpha channel, palette to truecolor copy 2006-10-08 21:43:16 +00:00
pajoye 4d52bd1fa9 - #3, gdImageRectanle draws the corners twice 2006-09-28 08:16:30 +00:00
pajoye 0235118a5c - #2, imagefill segfaults:
- when call with invalid index color
 - segfaults or invalid result when used with complex patterns or
   transparent color
 (more tests to come)
2006-09-27 23:58:50 +00:00
pierre e4f172d446 - sync to 2.0.32 2006-04-05 15:55:27 +00:00