Commit Graph

230 Commits

Author SHA1 Message Date
John Cupitt 7eb3513d46 vipsthumbnail sharpen defaults to mild
and add a "none" option
2013-05-06 14:01:29 +01:00
John Cupitt f80bf594ce sharpen param to vipsthumbnail 2013-05-03 13:56:38 +01:00
John Cupitt 9cb1403b9b better error msg on unknown action
$ vips fred --n

would confusingly complain about unknown option --n, rather than the
unknown acrion "fred"
2013-03-15 12:15:35 +00:00
Benjamin Gilbert 8cc76a6ba3 Update address for Free Software Foundation
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt ae27de5140 more granular cache for tiny speed up 2013-03-01 10:29:01 +00:00
John Cupitt 8269a79801 vipsthumbnail sizes cache better
the vipsthumbnail cache could be too small on many-cpu machines, size it
more intelligently
2013-03-01 09:44:19 +00:00
John Cupitt 2d085f753b record the image loader
and display in header too
2013-02-27 12:51:26 +00:00
John Cupitt e4c2a14b7b fix make dist 2013-02-14 08:51:44 +00:00
John Cupitt 90709538e6 update configure system 2013-01-23 10:17:51 +00:00
John Cupitt b3c16b69a1 version number bump
bump version for new stable cycle
2013-01-22 14:04:55 +00:00
John Cupitt c43924f716 Merge remote-tracking branch 'origin/7.30'
Conflicts:
	ChangeLog
	configure.in
2012-12-31 14:40:30 +00:00
John Cupitt ee2b1f71ce better option parsing for "vips"
The vips driver program was parsing options in a single pass. This
failed if an option came in two parts, for example:

	vips --plugin x.plg list

the argument to --plug would be picked up as the action for "vips",
since actions were selected before option parsing

Now we parse in two passes: the first pass picks up options for vips
itself and for the libvips library, then we select the action, then we
parse again, including any options created by the action
2012-12-31 14:10:54 +00:00
John Cupitt 767bfc3b7f allow absolute file names in vipsthumbnail -o
thanks fuho
2012-11-13 20:09:30 +00:00
John Cupitt 40fd51d165 Merge branch 'master' of github.com:jcupitt/libvips 2012-11-13 18:10:12 +00:00
Sebastian Gassner 274da3dcb6 tools/batch_* scripts: verify number of arguments before invoking 'shift'. 2012-11-13 15:11:34 +01:00
John Cupitt fdaad16407 better --help output for vips driver prog
now lists possible actions
2012-11-13 12:51:58 +00:00
John Cupitt 1e121f2da7 fixes to lcms2 support 2012-10-25 13:55:26 +01:00
John Cupitt 5b03646799 Merge remote-tracking branch 'origin/master' into colour
Conflicts:
	ChangeLog
	TODO
	configure.in
2012-09-06 16:29:22 +01:00
John Cupitt 0c87863222 argh still deadlocks on example.rb 2012-09-04 14:56:22 +01:00
John Cupitt 822f1bbdd9 hackety hack
make a base class for colorimetric operations
2012-08-31 17:27:30 +01:00
John Cupitt 8653b23810 better handling of jpeg warnings 2012-08-23 21:44:14 +01:00
John Cupitt 3276c636f7 add support for VipsInterpolate to the C++ API
quick and ugly hack, this will be replaced in vips8

necessary to get affinei and affinei_all in Python
2012-08-06 16:06:17 +01:00
John Cupitt 7df7bb85bb add --vips-version cmdline arg
print version of libvips that a program is running against
2012-07-20 13:34:05 +01:00
John Cupitt 41be00d5dd version bump for new stable 2012-07-20 10:32:20 +01:00
John Cupitt cd7a769058 leak 2012-06-21 14:11:39 +01:00
John Cupitt 213b44894e Merge remote-tracking branch 'origin/7.28'
Conflicts:
	libvips/iofuncs/cache.c
2012-06-21 13:32:47 +01:00
John Cupitt 4aa24358d8 Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
	tools/vipsthumbnail.c
2012-06-19 17:24:43 +01:00
John Cupitt bc60c7c886 oops variable left-over 2012-06-19 16:43:09 +01:00
John Cupitt c7059af753 oop jpeg thumbnail 2012-06-19 14:48:32 +01:00
John Cupitt 400a40ea28 oops vipsthumbnail memleak 2012-06-19 14:24:24 +01:00
John Cupitt f5134a2afd make vipsthumbnail use a sequential cache
it wasn't setting the sequential option in the line cache
2012-06-18 17:37:40 +01:00
John Cupitt 7061f0f00b put the shrink line cache back
so we can use THINSTRIP for the vips_shrink() operation
2012-06-18 09:19:31 +01:00
John Cupitt df572e092b use the new geneal seq mode
vipsthumbnail was using the prototype seq: mode stuff, make it use the
final seq system
2012-06-18 08:44:45 +01:00
John Cupitt b3d5f90c78 update the :seq stuff in vipsthumbnail
vipsthumbnail was not enabling sequential mode for tiff and jpg formats
2012-06-13 09:40:33 +01:00
John Cupitt e8b83aa96e fail if numeric args to vips are malformed 2012-04-04 13:37:05 +01:00
John Cupitt 451ac04eba version bump 2012-03-09 09:47:28 +00:00
John Cupitt 9ea1387a68 add FLAGS args 2012-02-20 21:02:37 +00:00
John Cupitt aee2999259 generic sequential read mode
moved sequential read stuff into VipsForeignLoad
2012-02-15 13:55:34 +00:00
John Cupitt ed2f979497 vipsthumbnail shrinks to a scanline cache
so it works well with the new :seq mode for png
2012-02-08 14:05:58 +00:00
John Cupitt e0f31e3b4a vipsthumbnail knows about :seq mode for png
also im_open() knows about old-style embedded filename options
2012-02-08 13:33:19 +00:00
John Cupitt 190d438ec1 long names for C++ decl args
swig needs long names for args in C++ decls to make %apply accurate

also, fix use of vips --list etc. in C++ makefiles
2012-02-06 12:05:45 +00:00
John Cupitt ef2d7024bd version number bump
starting to stabilise 7.28, hopefully
2012-01-30 11:27:28 +00:00
John Cupitt d1f5225e58 more robust char->enum
edvips has much safer char->enum conversion
2012-01-27 17:36:25 +00:00
John Cupitt c197e2f90e more robust enum printing 2012-01-27 17:14:59 +00:00
John Cupitt 1583000298 oops 2012-01-17 11:14:15 +00:00
John Cupitt 5096031371 oops matlab load compat wrapper was broken 2012-01-12 14:14:54 +00:00
John Cupitt 351a2ad71c better saving of coded images 2012-01-12 13:39:58 +00:00
John Cupitt b43f38997d small fixes 2012-01-11 15:00:37 +00:00
John Cupitt bf88439c0a "vips list" can show any class 2011-12-14 14:13:34 +00:00
John Cupitt 94fcf5f362 added object summaries 2011-12-14 14:03:30 +00:00
John Cupitt 5e037e4c68 foreign uses the cache 2011-12-02 13:15:05 +00:00
John Cupitt 30ec51699d sync 2011-12-02 09:10:11 +00:00
John Cupitt 878edcf4ea copy swap uses glib byte order macros
2x faster byte swapping by using the glib byte swap macros
2011-12-01 18:47:36 +00:00
John Cupitt 48763493e5 get byteswap working again 2011-12-01 14:52:49 +00:00
John Cupitt 9154e03715 better header/edvips
header is now terse by default, edvips has a flag to set the endianness
2011-12-01 13:17:40 +00:00
John Cupitt 4fccf06e5d more work on refs 2011-11-30 22:06:52 +00:00
John Cupitt 588243c665 header command shows filenames 2011-11-30 14:56:57 +00:00
John Cupitt f944742c2a bandmean as a class
also moved recomb over to conversion, other small fixes
2011-11-20 09:56:02 +00:00
John Cupitt b41b9ac19c better vips list classes output 2011-11-19 12:51:13 +00:00
John Cupitt cb5f199f1c misc big fixes 2011-11-08 18:36:33 +00:00
John Cupitt 1374b47e0f more leak tweaks
fewer noisy messages, more checking
2011-09-24 10:59:31 +01:00
John Cupitt 13e354e869 add vips_shutdown()
vips_shutdown() flushes caches, closes plugins and does a leak check
2011-09-24 10:17:32 +01:00
John Cupitt ed73e8cf08 add cache drop and trim
the operation cache now has drop and trim and can report stats
2011-09-22 14:07:12 +01:00
John Cupitt 359ce3208e cleanup
file in git which should be blocked, also TODO note
2011-09-12 14:55:22 +01:00
John Cupitt 7111ff2433 version bump for next cycle
s Please enter the commit message for your changes. Lines starting
2011-08-21 18:06:19 +01:00
John Cupitt cf4c5979eb more win32 fixes 2011-07-26 18:44:52 +01:00
John Cupitt b0e7c727fa version bump
version bump for release, get make dist working again
2011-07-26 09:59:53 +01:00
John Cupitt cfb076f726 make enum names work again
allow old names in enums, so edivips --format allows IM_BANDFMT_UCHAR,
VIPS_FORMAT_UCHAR and uchar
2011-07-22 15:56:31 +01:00
John Cupitt ed5cb531bd wrap7 works, for images at least
still need to add masks, doubles, strings, etc.
2011-07-18 17:10:41 +01:00
John Cupitt 10b7b2eec0 wrap7 works more
"vips im_subtract" now produces a usage message via vips8
2011-07-16 12:44:35 +01:00
John Cupitt 580536e412 indent class lists
"vips list classes" now indents the class lists by structure
2011-07-16 11:26:24 +01:00
John Cupitt 03226f6f67 vips7 wrap runs
"vips list clases" now works, not tested actually supplying any args
2011-07-15 21:28:33 +01:00
John Cupitt 3126e5100d get interpolate new from string working
vips_type_map() has to see abstract types now so we can get the
baseclass for interpolate. interpolate class has to set the nickname.
2011-06-21 11:08:56 +01:00
John Cupitt 7b6bc4267b better vips error msg
"vips mpouikh" makes a better error message
2011-06-06 12:31:12 +01:00
John Cupitt 56d8f75500 fix an edge problem in aconv
aconv no longer has tiling artifacts
2011-06-04 10:01:52 +01:00
John Cupitt 75e5804e3c small fixes
also bumped smalltile to 512x512 for tetsing aconv, this needs checking
2011-06-01 17:56:28 +01:00
John Cupitt a9045c9ec3 oops vipsthumbnail needed updating 2011-05-30 11:41:02 +01:00
John Cupitt 6cb6d2289b new CLI done
the new cli interface is done, try "vips add a.jpg b.jpg out.jpg", or
"vips add".
2011-05-16 17:10:08 +01:00
John Cupitt 8c6697c40a misc CLI hackery sync 2011-05-16 08:31:55 +01:00
John Cupitt 825280b365 more cli hackery
almost there now, parsing strings to standard types
2011-05-13 10:08:53 +01:00
John Cupitt 2a66c50410 mostly working 2011-05-11 22:07:30 +01:00
John Cupitt 67df101545 more command-line interface
more hacker ... this time a better way to do optional args
2011-05-11 14:51:47 +01:00
John Cupitt 172b9f920e removed some binaries
oops, had these in by mistake
2011-04-14 09:39:16 +01:00
John Cupitt efcc0c20de need private array in VipsBinary
oops
2011-04-13 17:55:58 +01:00
John Cupitt e0d4ed89ff reorganise tools/ dir
The subdir in tools are no lonmger necessary. Also, remove ther old bin
links feature, not very useful anymore.
2011-04-06 12:06:32 +01:00
John Cupitt c0b98a19f9 remove deprecated cli programs
removed some deprecated or now-replaced cli programs
2011-03-11 13:58:22 +00:00
John Cupitt e17435c105 small fixes
small fixes and we now pass all tests
2011-03-11 13:53:59 +00:00
John Cupitt fd26b098b7 it runs!
"vips im_avg poop.png" now works, amazing. Test a few more things before
we merge back to master.
2011-03-07 15:52:53 +00:00
John Cupitt 7966a36446 bump plus oops 2010-12-06 11:10:19 +00:00
John Cupitt 97a5ff1607 branch for 7.24 2010-11-30 22:01:45 +00:00
John Cupitt bf029b4611 stuff 2010-10-14 15:41:52 +00:00
John Cupitt 569fd3bd5c tweak to prepend_var 2010-10-04 11:03:57 +00:00
John Cupitt 8ef0b344d6 security fix for setting env vars 2010-10-03 17:10:11 +00:00
John Cupitt bde8d1048e vipsthumbnail uses rd mode 2010-07-30 12:30:45 +00:00
John Cupitt 891650869b version bump to unstable 2010-07-21 10:04:10 +00:00
John Cupitt caede02a22 oop thumbnail sharpen could turn off for int shrinks 2010-07-04 20:05:20 +00:00
John Cupitt b56ad5ec7f stuff 2010-06-24 16:41:01 +00:00
John Cupitt 3f8259e390 vips.exe is less chatty 2010-06-24 16:02:00 +00:00
John Cupitt b275740002 stuff 2010-05-26 15:32:13 +00:00
John Cupitt def00f7854 stuff 2010-05-26 11:26:09 +00:00
John Cupitt 84398a7686 i18n fixes 2010-05-25 16:46:03 +00:00
John Cupitt 2d215b44e5 fixes to --disable-cxx mode 2010-05-22 12:13:19 +00:00
John Cupitt 7bebea093a vipsthumbnail fixes 2010-05-13 20:29:28 +00:00
John Cupitt 44433f18d0 bump for 7.22 2010-05-12 21:04:27 +00:00
John Cupitt fa6a8f7e40 stuff 2010-02-06 10:40:41 +00:00
John Cupitt 61d4eddbb4 stuff 2010-02-05 14:34:38 +00:00
John Cupitt 53ed981820 stuff 2010-01-25 16:28:34 +00:00
John Cupitt e0d4e0c158 added im_meta_remove 2010-01-25 14:23:30 +00:00
John Cupitt 8bbc47edef stuff 2010-01-14 14:02:46 +00:00
John Cupitt 17ef02861e better colour management for vipsthumbnail 2010-01-14 14:00:12 +00:00
John Cupitt b8525c6d47 tiff import to memory was broken 2010-01-14 13:39:46 +00:00
John Cupitt 34a9b50d33 import fixes 2010-01-13 18:03:27 +00:00
John Cupitt b83ecb0175 import fixes 2010-01-13 17:35:05 +00:00
John Cupitt 510801ec15 stuff 2010-01-11 17:33:40 +00:00
John Cupitt fa7d5939f5 added vipsthumbnail 2010-01-11 15:08:13 +00:00
John Cupitt 377b76b255 add --disable-cxx option 2010-01-08 14:28:40 +00:00
John Cupitt a5574dc0ce oops, UCS2xx was broken 2009-11-30 17:14:59 +00:00
John Cupitt 73fba1c2ea rename convf to conv_f to help overloading 2009-11-13 12:01:36 +00:00
John Cupitt 8a081f08da make dist fixes 2009-11-10 13:54:15 +00:00
John Cupitt 7b3c7f8851 version bump to 7.20 2009-11-09 14:36:27 +00:00
John Cupitt 587ff112f0 stuff 2009-11-06 13:00:51 +00:00
John Cupitt 07d4b0a6f7 stuff 2009-11-05 13:37:18 +00:00
John Cupitt ea4562a24a stuff 2009-11-02 22:01:09 +00:00
John Cupitt 7249f2cb8c doc cleanups 2009-10-22 13:43:09 +00:00
John Cupitt cef3f277eb stuff 2009-10-06 11:00:17 +00:00
John Cupitt 223d94b8f2 stuff 2009-10-05 21:19:02 +00:00
John Cupitt 624708dbdc oops 2009-10-05 13:00:37 +00:00
John Cupitt b628642f4a fix im_errormsg() calls 2009-09-21 15:50:29 +00:00
John Cupitt 802b4accc8 restore header patch 2009-08-18 11:38:17 +00:00
John Cupitt 4e76695e19 merge gtkdoc branch 2009-08-16 15:00:08 +00:00