Commit Graph

5627 Commits

Author SHA1 Message Date
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
John Cupitt
13e13a3c35
Merge pull request #1107 from jcupitt/master
fix more links
2018-09-25 10:44:53 +01:00
John Cupitt
e058fdf7f8 fix more links
relative links no longer work in the new home
2018-09-25 10:43:37 +01:00
John Cupitt
7da31386c7
Merge pull request #1103 from jcupitt/add-smartcrop-low-high
add low/high to smartcrop
2018-09-24 10:56:49 +01:00
John Cupitt
ff8a1a2c6f LOW and NONE mean the same
small code simplification and cleanup, add docs
2018-09-22 16:21:04 +01:00
John Cupitt
9ac5a449f2 add low/high to smartcrop
smartcrop attention had a centre setting, but not low or high

see https://github.com/libvips/libvips/issues/1089
2018-09-22 14:47:40 +01:00
John Cupitt
3850774b39
Merge pull request #1102 from medanat/master
Change jcupitt references to libvips.
2018-09-21 17:21:34 +01:00
Yazan Medanat
90f578a05f Change jcupitt references to libvips. 2018-09-21 09:05:47 -07:00
John Cupitt
847009f81b
Merge pull request #1083 from lovell/attention-smartcrop-early-resize
Smartcrop (attention): resize at start of pipeline to improve performance/accuracy
2018-09-21 15:25:48 +01:00
John Cupitt
b552dd0503 version bump to get ready for the vips 8.8 cycle 2018-09-21 15:10:39 +01:00
John Cupitt
f3de6a9521 update function list in docs
thanks janko-m

see https://github.com/jcupitt/libvips/issues/1097
2018-09-20 08:26:51 +01:00
John Cupitt
5623bb1330 add a nifti wrapper for vips7
so nip2 can now load nifti images
2018-09-10 14:35:49 +01:00
Lovell Fuller
bc6639e08d Smartcrop (attention): resize at start of pipeline 2018-09-05 21:02:48 +01:00