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
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
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
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
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
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
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
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
John Cupitt
acabd2dc08
add gifload_source
2020-01-30 22:15:48 +00:00
John Cupitt
63b755e73e
fix pytest
2020-01-30 21:46:31 +00:00
John Cupitt
e60030b6e8
start reworking gifload for VipsSource
2020-01-30 17:21:10 +00:00
John Cupitt
979422886b
revise tiff load/save doc comments
2020-01-29 18:26:16 +00:00
John Cupitt
81fa983121
oop, dropped an "else"
2020-01-29 18:12:37 +00:00
John Cupitt
a158b15b97
add LOGLUV TIFF support
...
libvips XYZ images load and save as libtiff LOGLUV
see https://github.com/libvips/libvips/issues/1506
2020-01-29 17:47:08 +00:00
John Cupitt
2e3eca7e29
another missing copy operation
...
The --page-height arg to savers needs a copy as well.
2020-01-29 15:44:55 +00:00
John Cupitt
42930e8d87
add "depth" param to tiffsave
...
Add a "depth" param to tiffsave to set pyramid depth, just like the
"depth" param on dzsave.
See https://github.com/libvips/libvips/issues/1485
2020-01-26 18:39:47 +00:00