Commit Graph

5564 Commits

Author SHA1 Message Date
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
John Cupitt 3f8c04c38b add docs for mosaic output
note the extra params that let you read out the transform
2018-09-05 09:02:39 +01:00
John Cupitt f9cbc7263d
Merge pull request #1081 from lovell/composite-cpp-sentinel
Silence 'missing sentinel' warnings in GCC v6+
2018-09-04 11:06:16 +01:00
Lovell Fuller ec2ad85279 Silence 'missing sentinel' warnings in GCC v6+ 2018-09-04 11:00:39 +01:00
John Cupitt 870610af4e reduce stack usage to help musl
don't allocate a pointer array on the stack in arithmetic.c

see f3ef6e52ea
2018-09-04 08:46:37 +01:00
John Cupitt 1702529be0 add a compat stub for vips_region_shrink()
to keep ABI compat with 8.6
2018-08-29 09:50:35 +01:00
John Cupitt bb23a1fe6c fix openexr alpha test 2018-08-28 11:18:21 +01:00
John Cupitt 8891d6dc29 exif strings were not trimmed correctly
drop_tail() missed the final "()"
2018-08-28 11:08:49 +01:00
John Cupitt f725d7efab
Merge pull request #1074 from lovell/vips_icc_is_compatible_profile-leak
Fix 72 byte leak when ICC profile is compatible
2018-08-23 22:17:02 +01:00
Lovell Fuller 814af7e832 Fix 72 byte leak when ICC profile is compatible 2018-08-23 22:04:28 +01:00
John Cupitt fec2f5f869 make vips_object_get_args() return an int
since malloc can fail
2018-08-20 08:45:46 +01:00
John Cupitt 30cb95e6e7
Merge pull request #1068 from kleisauke/add-vips_object_get_args
Add vips_object_get_args
2018-08-20 08:24:31 +01:00
Kleis Auke Wolthuizen b5b756b817 Add vips_object_get_args
Handy for language bindings.
2018-08-19 22:42:26 +02:00
John Cupitt 96770a49b1 add -lznz to the nifti test to help win
see https://github.com/jcupitt/libvips/pull/1066
2018-08-19 21:17:32 +01:00