Commit Graph

6706 Commits

Author SHA1 Message Date
Jan Tojnar 97a92e0e6a
autogen.sh: Honor NOCONFIGURE
Linux distros will usually want to run configure separately so the script should respect their wishes. See also https://people.gnome.org/~walters/docs/build-api.txt
2020-03-04 01:22:35 +01:00
Uwe Ohse 433e35ebbb deprecate unused option --delete 2020-02-29 15:50:01 +00:00
John Cupitt 7d3a7e9c29 Merge branch '8.9' 2020-02-28 15:23:31 +00:00
John Cupitt ab5d511123 add fuzz corpus 2020-02-28 15:22:10 +00:00
John Cupitt 59669be592 remove some stray files 2020-02-28 14:51:21 +00:00
John Cupitt 7ea34382a3 start revising heifload
not quite working
2020-02-28 14:41:00 +00:00
John Cupitt b1e1d4b4f6 better line/col numbering in csvload 2020-02-24 14:14:27 +00:00
John Cupitt 175408733f fix use-after-free
see https://oss-fuzz.com/testcase-detail/5663684670259200
2020-02-23 11:09:44 +00:00
John Cupitt 1a0e61510b rewrite matrixsave
uses new target API
2020-02-22 17:55:04 +00:00
John Cupitt ce240b1ca2 revise matrixload for source API 2020-02-22 15:02:12 +00:00
John Cupitt d68e02a3c4 Merge branch 'revise-csvload' 2020-02-21 18:23:13 +00:00
John Cupitt bab3486aca fix lines param to csvload
we had lines and skip mixed up
2020-02-21 18:22:39 +00:00
John Cupitt fe47ce12e9 move csvsave to the new target API 2020-02-21 17:57:28 +00:00
John Cupitt 726895b3d1 add vips_csvload_source() 2020-02-21 16:39:40 +00:00
John Cupitt 71c15958ed new csvload seems to work 2020-02-21 16:04:29 +00:00
John Cupitt 0986ad647e Merge branch 'master' of github.com:libvips/libvips 2020-02-21 11:54:53 +00:00
John Cupitt 44fb4044b6 revise docs for percent
the greater than was backwards, thanks gil-c

see https://github.com/libvips/libvips/issues/1560
2020-02-21 11:53:55 +00:00
John Cupitt 0a23bf3578 revise formatting, add docs
fix up some formatting from https://github.com/libvips/libvips/pull/1552

plus some other small changes
2020-02-18 17:37:56 +00:00
John Cupitt fefefdf3e2
Merge pull request #1552 from wix-playground/master
Add force subsample argument to JPEG save
2020-02-18 16:57:15 +00:00
elad laufer 1db2f4731c - fix comment 2020-02-18 18:21:21 +02:00
elad laufer 8749871c71 - remove no_subsample from inner calls 2020-02-18 18:04:29 +02:00
elad laufer 22b3a0d161 - use enum string 2020-02-18 13:43:02 +02:00
elad laufer 41d79415b9 - argument deprecation flag
- styling
2020-02-18 13:31:58 +02:00
Elad Laufer 4c6df5b906
Use a single enum and switch that replaces no_subsample, force_subsample 2020-02-18 11:51:15 +02:00
elad laufer 838b5e7458 - add test case 2020-02-18 11:33:29 +02:00
elad laufer 65b1a3eac2 - add test case 2020-02-18 11:09:18 +02:00
elad laufer c866cf480e - styling 2020-02-18 11:05:16 +02:00
elad laufer 408f3b08ce - simplified subsampling selection by setting subsample_mode=VIPS_FOREIGN_JPEG_SUBSAMPLE_OFF when no_subsample=1 2020-02-18 10:54:46 +02:00
elad laufer 494d8876eb - don't skimp on names 2020-02-17 17:15:43 +02:00
elad laufer 00bf3269bd - fix comment 2020-02-17 17:13:01 +02:00
elad laufer d2b794ec35 - use a single enum and switch that replaces no_subsample, force_subsample 2020-02-17 11:29:57 +02:00
elad laufer c626c9de14 add force subsample argument that overrides the Q deduced subsampling directive 2020-02-16 18:37:32 +02:00
Elad Laufer 71e9071769
Merge pull request #3 from libvips/master
Merge master
2020-02-16 13:37:29 +02:00
John Cupitt 54ff9dabf7 trim README a little 2020-02-11 15:20:12 +00:00
John Cupitt 51d0e8b79c a little more work 2020-02-10 20:31:45 +00:00
John Cupitt 3ad3c30ab4 better handling of GIFs with out of bounds frames
The recent reworking of gifload did not check for out of bounds frames
before setting DISPOSE_BACKGROUND.
2020-02-10 17:34:45 +00:00
Elad Laufer 2b6cc4229e Merge pull request #2 from libvips/master
Merge from main
2020-02-10 11:59:40 +02:00
John Cupitt 2d14554e44 start revising csvload for vipssource 2020-02-10 08:50:01 +00:00
John Cupitt 3285ef152a
Merge pull request #1550 from libvips/wix-playground-master
revise gifload to improve dispose handling
2020-02-09 14:39:48 +00:00
John Cupitt 9e6df7e0a6 revise png comments 2020-02-07 17:53:42 +00:00
John Cupitt d8ee83e35e Merge branch 'master' of https://github.com/wix-playground/libvips into wix-playground-master 2020-02-07 16:30:26 +00:00
alon-ne f88dab9ccd
Fix gif dispose handling for DISPOSE_BACKGROUND and DISPOSE_PREVIOUS
- Add 'scratch' field to gif that holds temporary 'scratch buffer' used for rendering frames
- For DISPOSE_BACKGROUND: Set background color to transparent instead of 0
- For DISPOSE_BACKGROUND: Write background pixels into scratch after rendering current frame, so it will be used in next frame
- For DISPOSE_PREVIOUS: Save frames that are not disposed into 'previous' field in gif, when DISPOSE_PREVIOUS is specified start with that previous frame. see http://webreference.com/content/studio/disposal.html
- Add "ANIMEXTS1.0" to Application Extension parser
- Graphic Control Extension parser refactor
- Compare file contents to expected images for animated gifs in foreign tests
2020-02-06 17:36:13 +02:00
John Cupitt f866799474 move pipe read limit to gint64
We had a mix of size_t and gint64. Just use gint64 everywhere.
2020-02-05 14:42:03 +00:00
John Cupitt 862e1ae214 add VIPS_LEAK env var 2020-02-03 17:01:57 +00:00
John Cupitt cf5cad2b3e make pipe read limit configurable
We had a 1gb limit on the amount of data we would read from a pipe
before giving up.

This patch adds vips_pipe_read_limit_set() and makes this limit
configurable.

See: https://github.com/libvips/libvips/issues/1540
2020-02-03 16:57:10 +00:00
John Cupitt 559ae542ac revise flags for vipsthumbnail
The --rotate flag no longer did anything, so add a new --no-rotate flag
connected to the new no-rotate property. --rotate is still there, but
hidden and does nothing.

-o was much easier to remember than -f, so flip back to -o. -f still
works, but is a hidden synonym.

--iprofile, --eprofile were hard to remember. Add --import-profile and
--export-profile synonyms. iprofile / eprofile are still there and still
work, but are hidden.
2020-02-03 14:49:21 +00:00
John Cupitt 05a45c3418 Merge branch '8.9' 2020-02-02 11:15:09 +00:00
John Cupitt bb20556b6d ban ppm max_value < 0
Not allowed by spec, since pixels should be unsigned.
2020-02-02 11:13:41 +00:00
John Cupitt 46da95f30f Merge branch '8.9' 2020-01-31 16:00:22 +00:00
John Cupitt 8a21f6ea52 fix gif rendering for "waterfall.gif"
This GIF has dispose set to DISPOSAL_UNSPECIFIED and seems to mean
transparent.

This patch makes gifload use DISPOSAL_UNSPECIFIED as well as _DO_NOT to
mean reuse previous frame.

Thanks DarthSim.

See https://github.com/libvips/libvips/issues/1543
2020-01-31 15:51:44 +00:00