Commit Graph

4539 Commits

Author SHA1 Message Date
Lovell Fuller 3ca21ee2e8 Increase minimum glib-2.0 dependency to v2.15 (released March 2012) 2020-03-26 19:13:21 +00:00
John Cupitt e9c47200dc
Merge pull request #1591 from kleisauke/get-language-names
Only call g_get_language_names when GLib < 2.48.1
2020-03-24 17:05:49 +00:00
Kleis Auke Wolthuizen ceacd0bab9 s/count/af_count/
Thanks lovell!
2020-03-24 12:55:07 +01:00
Kleis Auke Wolthuizen 4911928412 Only call g_get_language_names when GLib < 2.48.1
The thread-safety problem was fixed in GLib 2.48.1.

See: https://bugzilla.gnome.org/show_bug.cgi?id=748474
2020-03-24 11:14:47 +01:00
Kleis Auke Wolthuizen af21838fab Use g_get_num_processors() when GLib >= 2.48.1
Also backport the patch from https://bugzilla.gnome.org/show_bug.cgi?id=748530
2020-03-24 11:11:46 +01:00
John Cupitt 834234c23c add `all` smartcrop mode
So you can crop to fill as well as crop to fit.

see https://github.com/libvips/libvips/issues/1583
2020-03-19 18:57:40 +00:00
John Cupitt 3b57e13452 move heifsave to new target API
and add heifsave_target
2020-03-15 18:17:08 +00:00
John Cupitt 0badb7c603 add heifload_source 2020-03-15 11:45:56 +00:00
John Cupitt 1deada5aad Merge branch 'master' into revise-heifload 2020-03-14 13:06:23 +00:00
John Cupitt 7710fab06c add gio to libs and cflags
should fix fuzz build
2020-03-14 12:09:47 +00:00
John Cupitt e4f9025cde missing ABSTRACT for matrixsave 2020-03-13 17:07:54 +00:00
John Cupitt 2b78a00cfb hist_local was missing a seq hint 2020-03-13 16:44:57 +00:00
John Cupitt b0f3f687f2 fix up suffs on all savers
we were not checking that suffs was always defined
2020-03-13 13:01:15 +00:00
John Cupitt 44a16b90d3 csvsave_target was missings suffs
This now works:

	vips gaussmat .csv 2 0.2
2020-03-13 08:54:15 +00:00
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 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 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
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 41d79415b9 - argument deprecation flag
- styling
2020-02-18 13:31:58 +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 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
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