Commit Graph

6520 Commits

Author SHA1 Message Date
John Cupitt
764b196d50 move pdfload on top of source API
and add pdfload_source

see https://github.com/libvips/libvips/issues/1541
2020-03-11 18:15:15 +00:00
John Cupitt
d4f12a9999 move VipsGInputStream to public API
Since we will need it for pdfload as well.
2020-03-11 17:17:45 +00:00
John Cupitt
b689235f57 missing include in test_connections
Thanks brcarp.

See https://github.com/libvips/libvips/issues/1571
2020-03-11 09:11:29 +00:00
John Cupitt
73c1331439 swap abs() for fabs() in composite
The non-vector fallback path had abs(double). Thanks brcarp.

See https://github.com/libvips/libvips/issues/1572
2020-03-11 09:08:39 +00:00
John Cupitt
03399b4d7e tiff write sets page number
tiffsave sets `PAGENUMBER` and `FILETYPE_PAGE`, thanks jclavoie-jive

see https://github.com/libvips/libvips/issues/1565
2020-03-08 11:06:19 +00:00
John Cupitt
a592d99bb2 add dir detector
useful for blocking open for read of directories
2020-03-06 18:05:16 +00:00
John Cupitt
d13c0a69fd Merge branch 'master' of github.com:libvips/libvips 2020-03-06 13:05:38 +00:00
John Cupitt
6117310c18 improve file open error handling
better behaviour if you try to open a directory as an image
2020-03-05 15:30:37 +00:00
John Cupitt
68f766b482 Merge branch '8.9' 2020-03-05 15:03:00 +00:00
John Cupitt
b3a7929247 detect read errors in sniff correctly
we has a signed/unsigned mixup :(
2020-03-05 15:02:16 +00:00
John Cupitt
7b26bd1fdf add more "const" decls 2020-03-05 13:41:41 +00:00
John Cupitt
6a2fbbaed7 Revert "add more "const" decls"
This reverts commit 3dc2757330.
2020-03-05 13:40:07 +00:00
John Cupitt
3dc2757330 add more "const" decls 2020-03-05 13:09:28 +00:00
John Cupitt
9ef8b55218 better handling of short files in vips7 compat
the sniffer could read beyond the end of the file sometimes
2020-03-04 17:38:41 +00:00
John Cupitt
9070b6d71b
Merge pull request #1566 from jtojnar/patch-1
autogen.sh: Honor NOCONFIGURE
2020-03-04 03:00:07 +00:00
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
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