Commit Graph

5639 Commits

Author SHA1 Message Date
John Cupitt
b84bf6d4f4 check read order for strip tiffs
double-check seq is working, related to https://github.com/libvips/libvips/issues/1158
2018-11-13 17:29:36 +00:00
John Cupitt
8edc2c3f22 add webp anim write options 2018-11-06 17:20:35 +00:00
John Cupitt
3e070cbcdf Merge branch 'master' into add-webp-animated 2018-11-05 16:26:45 +00:00
John Cupitt
17c9856e38 add n/page support for webp read 2018-11-05 16:21:21 +00:00
John Cupitt
d6c7d86e12 Merge branch '8.7' 2018-11-05 10:41:46 +00:00
John Cupitt
0bea76d364 fix temp file open
was not auto-deleteing on windows, needs a fallback on linux

see https://github.com/libvips/libvips/pull/1155
2018-11-05 10:40:51 +00:00
John Cupitt
89c6d29079 add comments re. temp file open bug 2018-11-05 10:38:15 +00:00
John Cupitt
e5234287da
Merge pull request #1155 from lovell/open-tmpfile-fallback
Fallback to standard temp file if O_TMPFILE fails
2018-11-05 10:17:00 +00:00
John Cupitt
b161f4b982 clear to background on init 2018-11-04 19:58:06 +00:00
Lovell Fuller
90ca64668d Fallback to standard temp file if O_TMPFILE fails #1151 2018-11-04 19:51:36 +00:00
John Cupitt
e81e7f96eb add blending to webp load 2018-11-04 18:28:36 +00:00
John Cupitt
5e071a783f rework webp for progressive read
should be faster and need a lot less memory for long animations
2018-11-04 12:04:21 +00:00
John Cupitt
d317961378 check frame durations 2018-11-03 14:03:16 +00:00
John Cupitt
7071ad79a8 fix non-animated read 2018-11-03 12:39:08 +00:00
John Cupitt
d7e8688c35 loads an animation as a set of frames
still need to add dispose and blend, plus page/n
2018-11-02 16:47:34 +00:00
John Cupitt
3194083af2 reads animation headers
decode animation frames next
2018-11-02 10:22:03 +00:00
John Cupitt
5dadc03ce0 start animation decode for webp
switch to demux API, start extended header read
2018-11-02 09:06:05 +00:00
John Cupitt
556a165e53 tiny polish 2018-11-02 07:38:06 +00:00
John Cupitt
226f6e4f09 read the loop count 2018-11-01 22:17:54 +00:00
John Cupitt
e106e1d100 add n/page params to webpload
and renumber all optional load args
2018-11-01 20:43:07 +00:00
John Cupitt
23e13ea6ed remove libwebpdemux ifdefs
since it's now required
2018-11-01 20:15:36 +00:00
John Cupitt
d4823489dc switch to libwebpmux for webp write
we had our own horrible thing before
2018-11-01 18:50:10 +00:00
John Cupitt
12f81a1477 Merge branch 'add-webp-animated' of github.com:libvips/libvips into add-webp-animated 2018-10-31 16:52:51 +00:00
John Cupitt
d671d5c7bd add delay support 2018-10-31 16:52:09 +00:00
John Cupitt
7c6f417e68 fix some typos ... it works!
need to add support for delay and loop still
2018-10-31 16:52:09 +00:00
John Cupitt
801a2a7144 added anim write
compiles, but untested
2018-10-31 16:49:41 +00:00
John Cupitt
7303ecbebb typo
thanks @becoded
2018-10-31 14:09:57 +00:00
John Cupitt
22ba9106b5 implement shrink-on-load for openslide thumbs
makes vipsthumbnail much quicker on openslide images, obviously

see https://github.com/libvips/libvips/issues/1149
2018-10-31 14:07:13 +00:00
John Cupitt
aaf26765f2 warn about default TRUE bool args
to stop anyone making one again, hopefully
2018-10-31 12:45:17 +00:00
John Cupitt
0b050f4046 deprecate thumbnail auto_rotate, add no_rotate
the auto_rotate option of thumbnail was default TRUE which made it
useless from the CLI, since GOption only allows --switch, not
--switch=false

deprecate auto_rotate, add no_rotate, but allow either to be used

see https://github.com/libvips/libvips/issues/1146
2018-10-31 12:30:37 +00:00
John Cupitt
462158b118 spelling 2018-10-31 12:06:24 +00:00
John Cupitt
bb1bcfbbf0 add delay support 2018-10-30 15:42:11 +00:00
John Cupitt
f2ab0ab374 fix some typos ... it works!
need to add support for delay and loop still
2018-10-30 15:22:22 +00:00
John Cupitt
75da1472e8 added anim write
compiles, but untested
2018-10-29 18:32:20 +00:00
John Cupitt
ecdbf66f4d
Merge pull request #1145 from jcupitt/master
fix vips_image_dump()
2018-10-29 13:31:42 +00:00
John Cupitt
b8c9b70427 Merge branch 'master' of github.com:libvips/libvips 2018-10-29 13:29:45 +00:00
John Cupitt
1c6c9e4b82
Merge pull request #1124 from jcupitt/add-png-xmp
add xmp load/save for png
2018-10-29 12:37:21 +00:00
John Cupitt
67740c5d37
Merge pull request #1133 from Fingolfin1196/master
Add is_null check to VImage
2018-10-10 15:12:10 +01:00
Fingolfin1196
c7f828e968
Update VImage8.h
Should fix the “nullptr undeclared” issue.
2018-10-10 15:57:50 +02:00
Fingolfin1196
b0f21d2727
Update VImage8.h
VObject now has an is_null check, which is then used in VImage.
2018-10-10 15:48:23 +02:00
John Cupitt
502a3133a2 fix up vips_image_dump()
it was still expecting standard libvips enums to be stored as ints ...
this helps im_printdesc as well

see https://github.com/libvips/libvips/issues/1129
2018-10-09 13:16:53 +01:00
John Cupitt
883facb1c0 better handling of flip in autorot
if the orientation is one of the ones we don't handle (ie. there's a
flip as well as a rot), don't wipe the header tag

thanks gertcuykens for the suggestion

see https://github.com/libvips/libvips/issues/1028
2018-10-06 13:44:22 +01:00
John Cupitt
6be70e6799 add xmp load/save for png
plus a test
2018-10-06 11:54:27 +01:00
John Cupitt
301a08bf3c fix link to docker-builds 2018-10-06 04:31:38 +01:00
John Cupitt
5a48408925 fix licence comments
three files had the wrong licence attached in a copy-paste error

thanks kadt!

see https://github.com/libvips/libvips/issues/1121
2018-10-05 06:06:08 +01:00
John Cupitt
703498aa81 Merge branch '8.7' 2018-10-01 21:23:48 +01:00
John Cupitt
1b47c64c94
Merge pull request #1118 from jcupitt/test-for-g_str_to_ascii
fix build on older glibs
2018-10-01 21:22:33 +01:00
John Cupitt
0fea113bbf fix build on older glibs
we were using g_str_to_ascii(), but it was only added in glib 2.40

see https://github.com/libvips/libvips/issues/1117
2018-10-01 20:15:34 +01:00
John Cupitt
47b62d89dc Merge branch '8.7' 2018-09-27 06:33:54 +01:00
John Cupitt
90b366db07 fix more doc links 2018-09-27 06:32:20 +01:00