Commit Graph

306 Commits

Author SHA1 Message Date
John Cupitt e4f1210d20 update wrapper script
fixes "make check".
2020-08-14 14:02:55 +01:00
John Cupitt 5739ba12eb fix a few more function casts
see

https://github.com/libvips/libvips/pull/1697#issuecomment-657602404
2020-07-14 10:25:35 +01:00
Kleis Auke Wolthuizen fb61f0fa44 Define ENABLE_DEPRECATED in config.h
Do not check for VIPS_ENABLE_DEPRECATED as it could
come from an earlier version of libvips.
2020-07-07 12:16:43 +02:00
John Cupitt 2b2fabcd3b vipsheader allows stdin as a filename
```
$ cat k2.jpg | vipsheader stdin
1450x2048 uchar, 3 bands, srgb, jpegload_source
```

See https://github.com/libvips/libvips/issues/1594
2020-06-29 12:06:34 +01:00
Kleis Auke Wolthuizen 8abcae3abc Avoid using vips7 symbols 2020-06-18 14:21:43 +02:00
Kleis Auke Wolthuizen 21239ef796 Remove deprecated vips7 C++ generator
It's no longer needed after commit bae484b.
2020-06-18 13:42:58 +02:00
John Cupitt 9e4b78215e fix po 2020-05-27 16:30:04 +01:00
John Cupitt 9558563353
Merge pull request #1564 from UweOhse/master
deprecate unused option --delete
2020-05-03 16:03:32 +01:00
Lovell Fuller 3ca21ee2e8 Increase minimum glib-2.0 dependency to v2.15 (released March 2012) 2020-03-26 19:13:21 +00:00
Uwe Ohse 433e35ebbb deprecate unused option --delete 2020-02-29 15:50:01 +00:00
John Cupitt 559ae542ac revise flags for vipsthumbnail
The --rotate flag no longer did anything, so add a new --no-rotate flag
connected to the new no-rotate property. --rotate is still there, but
hidden and does nothing.

-o was much easier to remember than -f, so flip back to -o. -f still
works, but is a hidden synonym.

--iprofile, --eprofile were hard to remember. Add --import-profile and
--export-profile synonyms. iprofile / eprofile are still there and still
work, but are hidden.
2020-02-03 14:49:21 +00:00
John Cupitt 53407206cf start 8.10 cycle 2020-01-24 16:26:28 +00:00
John Cupitt ea2367e24c forgot to rename the wrapper script
and add tiny dbg to gifload
2019-06-20 12:18:40 +01:00
John Cupitt 18c12fd66d remove some old sanity-checks
regions can have null generate now
2019-03-20 16:28:22 +00:00
Miro Hrončok 8685f977ec Convert tools/vipsprofile to Python 3+2 2019-03-20 16:06:36 +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 0c8552d3fc fix some compiler warnings
from the MSVC patches, and add a changelog line
2018-06-01 16:02:09 +01:00
John Cupitt b085908558 remove vips7 stuff from API
You must now include vips7 support explicitly with

	#include <vips/vips7compat.h>

in your code just after including `vips.h`.

The old vips7 names, such as `Rect`, were starting to cause problems
with other packages like opencv.
2018-05-16 15:08:21 +01:00
John Cupitt 43c3db76c2 bump version in wrapper script
fixes make check
2017-12-23 14:14:10 +00:00
John Cupitt 424b359d33 bump wrapper script version
and add a test too

see https://github.com/jcupitt/libvips/issues/834
2017-12-17 10:50:57 +00:00
John Cupitt de7636c66b remove "throw" from c++ autogen tools
and output
2017-11-26 17:55:50 +00:00
John Cupitt 5ec1d5b72f fix vipsthumbnail --size Nx
oh dear, width but not height size specs to vipsthumbnail were not working

thanks jrochkind

see https://github.com/jcupitt/libvips/issues/781
2017-10-23 22:27:23 +01:00
John Cupitt 5a37d3e809 add an intent option to thumbnail
"intent" lets you set the rendering intent for any ICC conversions --
the default is the (more correct) relative, but "perceptual" can look
better

see https://github.com/jcupitt/libvips/issues/714
2017-08-30 16:34:46 +01:00
John Cupitt 354921df83 Merge branch '8.5' 2017-05-28 06:34:11 +01:00
John Cupitt 6a189d068b mark vipsprofile as python2
Some distros have python3 as the default, so make vipsprofile explicitly
python2, thanks ioquatix.

See https://github.com/jcupitt/libvips/issues/667
2017-05-28 06:33:58 +01:00
John Cupitt 260180197d done! but needs some tests 2017-05-04 14:54:49 +01:00
John Cupitt 27e6c60967 add vipsthumbnail page 2017-03-31 13:26:25 +01:00
John Cupitt 49d51e4eb6 fix a compiler wanring
thank you clang
2017-03-25 16:10:30 +00:00
John Cupitt e6bbfe4672 more centos5 fixes
can't use GRegexp if we need to support centos5 ... vipsthumbnail was
using it to parse geometry strings

new geo parser, plus some tests

see https://github.com/jcupitt/libvips/issues/622
2017-03-15 12:08:52 +00:00
John Cupitt 7ea24b7c05 try to help centos5
we were using something from glib 2.14, though configure allows glib 2.6

see https://github.com/jcupitt/libvips/issues/622
2017-03-15 09:15:21 +00:00
John Cupitt d4f6e56ff7 rename vips-8.4 wrapper script
getting ready for 8.5 release
2017-03-15 09:14:45 +00:00
John Cupitt 9e6832b34d add --smartcrop to vipsthumbnail
does the obvious thing
2017-03-08 14:31:00 +00:00
John Cupitt dbbe8b77c1 vipsheader could crash on bad field names
we were not checking the return of vips_image_get_as_string()
2017-02-24 14:30:26 +00:00
John Cupitt fb88d037fc Merge branch 'master' into add-thumbnail-geometry 2017-01-17 11:51:10 +00:00
John Cupitt c5e675f7db fix --vips-cache-max etc.
--vips-cache-max, --vips-cache-max-memory and --vips-cache-max-files were not
working and probably hadn't been for a while

vipsthumbnail.c turns off the operation cache, it's not useful for
the same operation repeated across many files
2017-01-10 14:12:24 +00:00
John Cupitt ec79682215 small fixes 2017-01-06 14:01:55 +00:00
John Cupitt 2fa3736722 all done, I think 2017-01-06 13:43:43 +00:00
John Cupitt e958de7814 add geo strings 2017-01-05 15:02:29 +00:00
John Cupitt 2be0b97dce switch to g_warning()_/g_info()
we had vips_warn() and vips_info(), but they are a bit crappy ... switch
to g_warning() and g_info() instead

see https://github.com/jcupitt/libvips/issues/544
2017-01-03 15:52:27 +00:00
John Cupitt 4df18c2a33 Merge branch '8.4' 2016-11-11 12:31:18 +00:00
John Cupitt 96ef05a9d1 fix a crash in arg handling on Windows
we were not updating argc in vips.c after all calls to
g_option_context_parse_strv() on Windows, leading to a crash in some cases

see https://github.com/jcupitt/libvips/issues/553
2016-11-11 10:14:03 +00:00
John Cupitt 6bff578fd9 remove old thumbnail code
and test thumbnail_buffer
2016-11-02 14:24:18 +00:00
John Cupitt a96d851ff2 fix up vipsheader with complex field types
"-f name" displays a detailed form, "-a" displays a summary of each
field

fix a problem with string fields as well
2016-11-01 11:51:20 +00:00
John Cupitt 3681ce0e77 fix vipsheader with new get/set system 2016-11-01 10:14:12 +00:00
John Cupitt 3f1f950bff add vips_image_hasalpha() 2016-10-31 11:14:27 +00:00
John Cupitt 1cc3b2bd5d final tweaks for 8.4 release 2016-09-23 12:26:12 +01:00
John Cupitt d3cafb3a9f seems to work
add @centre option for downsampling, see

https://github.com/jcupitt/libvips/issues/504
2016-09-10 10:31:33 +01:00
John Cupitt 57e1423d57 Merge branch 'master' into windows-unicode 2016-09-05 13:12:06 +01:00
John Cupitt 030921efc6 make all tools unicode-aware on windows
sigh
2016-08-17 12:14:43 +01:00
John Cupitt feca00958c seems to be sort-of working! 2016-08-16 18:33:48 +01:00