summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | #661, restore correct clamping, fixing alpha artifacts (these ones are the ↵Pierre Joye2021-08-241-14/+6
| | | | | | | | most visible)
* | Merge pull request #713 from me22bee/_gdImageGd2Pierre Joye2021-08-241-3/+15
|\ \ | | | | | | gdImageGd2Ptr memory leak
| * | remove non-printable bytesMaryam Ebrahimzadeh2021-08-241-1/+1
| | |
| * | trigger the github actionsMaryam Ebrahimzadeh2021-08-241-0/+2
| | |
| * | gdImageGd2Ptr memory leakmaryam ebrahimzadeh2021-07-191-4/+14
| | |
* | | Add ENABLE_CPP_APIPierre Joye2021-08-231-0/+3
| | |
* | | remove annotate from windows buildsPierre Joye2021-08-231-2/+5
| | |
* | | remove from .c tooPierre Joye2021-08-231-1/+6
| | |
* | | +NOTPierre Joye2021-08-231-2/+2
| | |
* | | tried, remove it from windows build, will need portable codes elsewherePierre Joye2021-08-232-89/+3
| | |
* | | move and fix opt* extern declaration, windows MSC onlyPierre Joye2021-08-231-1/+1
| | |
* | | move and fix opt* extern declaration, windows MSC onlyPierre Joye2021-08-231-1/+3
| | |
* | | webpng mkstemp, windows MSC onlyPierre Joye2021-08-231-0/+2
| | |
* | | webpng mkstempPierre Joye2021-08-231-0/+85
| | |
* | | opt* are extern, missed optargPierre Joye2021-08-231-1/+1
| | |
* | | opt* are externPierre Joye2021-08-231-1/+1
| | |
* | | that should solve all ssize_t issue w/VCPierre Joye2021-08-231-0/+3
| | |
* | | syntax fixPierre Joye2021-08-231-0/+1
| | |
* | | syntax fixPierre Joye2021-08-231-1/+2
| | |
* | | syntax fixPierre Joye2021-08-231-1/+1
| | |
* | | syntax fixPierre Joye2021-08-231-1/+1
| | |
* | | recent VC has stdintPierre Joye2021-08-232-2/+3
| | |
* | | let define ssize_t here on windowsPierre Joye2021-08-231-0/+2
| | |
* | | this header should not be included on windowsPierre Joye2021-08-231-1/+3
| | |
* | | Fix #733, silent warning for infilePierre Joye2021-08-231-0/+1
| | |
* | | Fix #733, use of undeclared identifier 'size': ARG_NOT_USED(size)Pierre Joye2021-08-231-1/+0
| | |
* | | add option to enable/disable CPP APIPierre Joye2021-08-222-0/+12
| | |
* | | enable these interpolationsPierre Joye2021-08-201-3/+6
| | |
* | | refactor and cleanupPierre Joye2021-08-201-98/+68
| | |
* | | mark as privatePierre Joye2021-08-201-0/+1
| | |
* | | silent fall trhough warning, that comment is read by gccPierre Joye2021-08-171-1/+2
| | |
* | | heif_ctx not usedPierre Joye2021-08-161-0/+1
| | |
* | | silent warning/unused args when codecs not enabledPierre Joye2021-08-168-5/+127
| | |
* | | little more close to IM/GM/Lepto and coPierre Joye2021-08-161-10/+7
| | |
* | | refactor/cleanup scaling 2 passesPierre Joye2021-08-162-104/+170
| | |
* | | revert that part, should be test side onlyPierre Joye2021-08-161-10/+1
| | |
* | | Fix #725, Gif Anim API, adding frame leak from tmp image, test already in ↵Pierre Joye2021-08-131-0/+4
| | | | | | | | | | | | place (gcc ASAN detects it)
* | | WebP: Fix memory leak in test and avoid possible memory leak if size is not ↵Pierre Joye2021-08-131-0/+10
| | | | | | | | | | | | correct (ie. passing 0 size will leak). Min size is the WebP sign (3x32bits)
* | | cleanup, clamping is not neeeded at all. Fix signed/unsigned comparisonPierre Joye2021-08-131-8/+3
| | |
* | | Disable strict pixi requirement for libavif >= 0.9.1 (#723)Ben Morss2021-08-031-0/+9
| | | | | | | | | | | | | | | Some AVIF image generators didn't include the PixelInformationProperty (pixi), even though strictly speaking they should. In v0.9.2, libavif began requiring this. Let's disable it so we can read those images too.
* | | Merge pull request #698 from adamsilverstein/webp-losslessChristoph M. Becker2021-07-232-1/+21
|\ \ \ | | | | | | | | Support writing lossless WebP
| * \ \ Merge branch 'master' into webp-losslessAdam Silverstein2021-05-0584-1241/+2862
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # tests/webp/.gitignore # tests/webp/CMakeLists.txt # tests/webp/Makemodule.am
| * | | | Set gdWebpLossless as threshold at 101.Adam Silverstein2021-05-052-9/+10
| | | | |
| * | | | Support writing lossless WebPChristoph M. Becker2016-10-092-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lossless WebP is a rather interesting alternative to PNG, and already supported by `gdImageCreateFromWebp*()`, so we add support for `gdImageWebp*()`, too. We can stick with the existing API, using the quality parameter to request lossless encoding if it is set to `gdWebpLossless`, which we define to `PHP_INT` (to avoid adding a new dependency to gd.h, we hard- code the value – we're assuming `sizeof(int)==4` anyway).
* | | | | Revert "Merge pull request #712 from me22bee/gdImageGdPtr"Pierre Joye2021-07-201-5/+2
| |_|/ / |/| | | | | | | | | | | | | | | This reverts commit bfc90ac2a6c4119ae6f9e57cc7d7e5d314500f2e, reversing changes made to edaf39fe6fb0d1867b9b5992efb9fe4102138553.
* | | | gdImageGdPtr memory leakmaryam ebrahimzadeh2021-07-191-2/+5
| | | |
* | | | fix read out-of-bands in reading tga header filemaryam ebrahimzadeh2021-07-191-1/+5
| | | |
* | | | use https://libgd.orgMike Frysinger2021-07-051-1/+1
| | | |
* | | | use gdIOCtxPtr more consistentlyMike Frysinger2021-05-288-155/+151
| | | | | | | | | | | | | | | | | | | | We have gdIOCtxPtr for gdIOCtx*, so switch the public headers to it consistently.
* | | | use malloc compiler attribute if availableMike Frysinger2021-05-282-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | This informs the compiler that these functions return allocated memory. That allows it to make some optimization decisions which can produce better code.