1237 Commits

Author SHA1 Message Date
Maryam Ebrahimzadeh
e8eeb8dde5
trigger the github actions 2021-08-24 11:46:07 +04:30
Pierre Joye
86a9e24510 Add ENABLE_CPP_API 2021-08-23 22:55:56 +07:00
Pierre Joye
1a04cda56a remove annotate from windows builds 2021-08-23 21:18:29 +07:00
Pierre Joye
8864a3086f remove from .c too 2021-08-23 21:05:17 +07:00
Pierre Joye
3dc1ea0d5f +NOT 2021-08-23 20:57:30 +07:00
Pierre Joye
18324c72c2 tried, remove it from windows build, will need portable codes elsewhere 2021-08-23 20:27:40 +07:00
Pierre Joye
5a34892fe2 move and fix opt* extern declaration, windows MSC only 2021-08-23 19:38:15 +07:00
Pierre Joye
05e0b65895 move and fix opt* extern declaration, windows MSC only 2021-08-23 19:29:11 +07:00
Pierre Joye
d8e894030e webpng mkstemp, windows MSC only 2021-08-23 19:08:34 +07:00
Pierre Joye
e19f011737 webpng mkstemp 2021-08-23 19:05:30 +07:00
Pierre Joye
6be94bf3ea opt* are extern, missed optarg 2021-08-23 18:52:13 +07:00
Pierre Joye
b3d1627998 opt* are extern 2021-08-23 18:41:13 +07:00
Pierre Joye
ca1c63050d that should solve all ssize_t issue w/VC 2021-08-23 18:24:48 +07:00
Pierre Joye
d2a4d180f2 syntax fix 2021-08-23 18:17:15 +07:00
Pierre Joye
6ede9b45e8 syntax fix 2021-08-23 17:46:11 +07:00
Pierre Joye
02a14bc7dc syntax fix 2021-08-23 17:40:10 +07:00
Pierre Joye
1c18f158a0 syntax fix 2021-08-23 17:33:37 +07:00
Pierre Joye
d4d9975b05 recent VC has stdint 2021-08-23 17:15:15 +07:00
Pierre Joye
0143009716 let define ssize_t here on windows 2021-08-23 17:05:36 +07:00
Pierre Joye
c425bc494c this header should not be included on windows 2021-08-23 16:56:01 +07:00
Pierre Joye
c7ee15f81d Fix #733, silent warning for infile 2021-08-23 15:59:06 +07:00
Pierre Joye
b5c494bc87 Fix #733, use of undeclared identifier 'size': ARG_NOT_USED(size) 2021-08-23 14:00:19 +07:00
Pierre Joye
4cf3715a9a add option to enable/disable CPP API 2021-08-22 11:50:59 +07:00
Pierre Joye
05c39aafb2 enable these interpolations 2021-08-20 14:45:13 +07:00
Pierre Joye
73ccc1d7e5 refactor and cleanup 2021-08-20 14:39:41 +07:00
Pierre Joye
e087ea0e38 mark as private 2021-08-20 07:20:09 +07:00
Pierre Joye
2d7db2d7fa silent fall trhough warning, that comment is read by gcc 2021-08-17 10:46:07 +07:00
Pierre Joye
9af6d1254f heif_ctx not used 2021-08-16 17:14:12 +07:00
Pierre Joye
98c6a27429 silent warning/unused args when codecs not enabled 2021-08-16 17:03:52 +07:00
Pierre Joye
f49d0aef3b little more close to IM/GM/Lepto and co 2021-08-16 17:02:51 +07:00
Pierre Joye
672475e540 refactor/cleanup scaling 2 passes 2021-08-16 13:53:49 +07:00
Pierre Joye
c483535fc9 revert that part, should be test side only 2021-08-16 06:54:00 +07:00
Pierre Joye
9cb2d1dcf5 Fix #725, Gif Anim API, adding frame leak from tmp image, test already in place (gcc ASAN detects it) 2021-08-13 21:53:37 +07:00
Pierre Joye
bd72a7da40 WebP: Fix memory leak in test and avoid possible memory leak if size is not correct (ie. passing 0 size will leak). Min size is the WebP sign (3x32bits) 2021-08-13 21:14:36 +07:00
Pierre Joye
dfe1ecb8a9 cleanup, clamping is not neeeded at all. Fix signed/unsigned comparison 2021-08-13 20:53:53 +07:00
Ben Morss
f9c995b55c
Disable strict pixi requirement for libavif >= 0.9.1 (#723)
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.
2021-08-03 23:07:48 -04:00
Christoph M. Becker
8accfa98a7
Merge pull request #698 from adamsilverstein/webp-lossless
Support writing lossless WebP
2021-07-23 23:30:27 +02:00
Pierre Joye
c380ba2b78 Revert "Merge pull request #712 from me22bee/gdImageGdPtr"
This reverts commit bfc90ac2a6c4119ae6f9e57cc7d7e5d314500f2e, reversing
changes made to edaf39fe6fb0d1867b9b5992efb9fe4102138553.
2021-07-20 09:50:57 +07:00
maryam ebrahimzadeh
e95059590f gdImageGd2Ptr memory leak 2021-07-19 18:52:50 +04:30
maryam ebrahimzadeh
a9328b0125 gdImageGdPtr memory leak 2021-07-19 12:05:17 +04:30
maryam ebrahimzadeh
8b111b2b4a fix read out-of-bands in reading tga header file 2021-07-19 10:07:13 +04:30
Mike Frysinger
bf36fa539b use https://libgd.org 2021-07-05 23:59:35 -04:00
Mike Frysinger
19c7a5d651 use gdIOCtxPtr more consistently
We have gdIOCtxPtr for gdIOCtx*, so switch the public headers to it
consistently.
2021-05-28 21:19:20 -04:00
Mike Frysinger
df8f989825 use malloc compiler attribute if available
This informs the compiler that these functions return allocated
memory.  That allows it to make some optimization decisions which
can produce better code.
2021-05-28 15:47:37 -04:00
Mike Frysinger
968ba1132d gd_strtok: constify delimiter 2021-05-28 15:45:06 -04:00
Ben Morss
5c55da917d avifMalloc => avifAlloc 2021-05-26 22:19:31 -04:00
Mike Frysinger
d6baf4c5c9 gdft: fix image pointer types
These are equiv, but switch them over for clarity & consistency.
2021-05-26 20:12:50 -04:00
Ben Morss
255e7bd97e Downgrade WARNING error to NOTICE
I hadn't realized that gd_error() output a LOG_WARNING. I don't think this error is as significant as the errors that occur when we can't process the user's request at all.
2021-05-26 11:25:56 -04:00
Ben Morss
cba26d7fc6 Fix memory leak
libavif will use this function as a callback.
Using libavif's memory allocators gives libavif a chance to release this memory when it's finished with it.
2021-05-26 11:21:46 -04:00
Adam Silverstein
a2b3ba08ef Merge branch 'master' into webp-lossless
# Conflicts:
#	tests/webp/.gitignore
#	tests/webp/CMakeLists.txt
#	tests/webp/Makemodule.am
2021-05-05 09:30:02 -06:00