Commit Graph

121 Commits

Author SHA1 Message Date
Felix Bünemann f834ea39f6 Add lossy compression "preset" option to webpsave
This allows to tune the lossy webp encoder for certain types of images.
2016-04-22 23:57:07 +02:00
John Cupitt a26291a426 reducehl3 is done
sort of anyway, tinkering with optimization
2016-03-09 22:47:02 +00:00
John Cupitt a42232a9a1 boilerplate for hsv colourspace 2015-06-09 10:18:30 +01:00
John Cupitt 42efce5c66 fix various typos
thanks dg1727

see https://github.com/jcupitt/libvips/issues/277
2015-04-21 18:39:02 +01:00
John Cupitt a5a3b062fc support saving 1 and 2 band images to webp
see https://github.com/jcupitt/libvips/issues/267

libwebp does not supportG and GA images

make a new SAVEABLE type for savers which only do RGB and RGBA
2015-04-17 16:59:28 +01:00
John Cupitt 044bdf38d1 more doc tweaks 2015-02-18 16:32:30 +00:00
John Cupitt eda4ed64f1 rename _!PIXEL etc. to help bindings
ruby gobject-introspection hates numbers at the start of _ separated
names
2015-01-07 14:22:13 +00:00
John Cupitt 6e2135d8b5 mask builders take prec, not integer
vips_gaussmat() and vips_logmat() used to default to float, but
vips_conv() defaulted to int ... so this failed:

	vips gaussmat m.v 2 0.1 --separable
	vips convsep k2.jpg x.jpg m.v

since we were using a small float mask with an integer convolution

This change makes everything int by default, with gaussmat having a new
param called --precision whose arg can be int or float.

The old @integer param is deprecated.
2014-12-16 20:48:11 +00:00
John Cupitt 620bff2d78 allow symbolic names for flags
you can now use numbers or names for GFlags values, eg.:

$ vips copy 50020484-00001.png x.png[filter=avg]
$ vips copy 50020484-00001.png x.png[filter=64]

was numbers only before
2014-10-27 11:40:43 +00:00
Lovell Fuller 45d90b68f1 Expose ability to control libpng's row filter
Disabling adaptive filters can improve image size
2014-10-26 21:55:14 +00:00
John Cupitt 154796a8dc rename VIPS_ANGLE_0 as VIPS_ANGLE_D0
and other similar cases

VIPS_ANGLE_0 becomes Vips.Angle.0 in Python, which is very inconvenient, so we
rename ... the D stands for degrees, I think
2014-09-29 13:56:55 +01:00
John Cupitt de594151a5 rename NOTEQUAL as NOTEQ
since <= is LESSEQ

python has some relational overloads now
2014-09-16 17:25:20 +01:00
John Cupitt c4a3e9a1a0 add VIPS_ARGUMENT_MODIFY
a flag for arguments meaning the operator will modify an input

the python binding uses this to take a copy of the arg before calling
2014-09-15 14:47:34 +01:00
John Cupitt 3dc708d2b6 add @container option to dzsave 2014-04-25 10:26:23 +01:00
John Cupitt 9b13188fc1 add "mode" to vips_draw_image() 2014-03-28 13:55:56 +00:00
John Cupitt b72818a2b8 add VIPS_OPERATION_DEPRECATED
and fix a tiny problem in vipswrap7
2014-02-03 13:23:58 +00:00
John Cupitt 5983833caa deprecate im_zerox(), not very useful
morph now done
2014-01-17 18:03:46 +00:00
John Cupitt 54dcea8c3d fix some clang warnings 2013-11-21 17:43:28 +00:00
John Cupitt 0257dda270 first hack at supporting XYZ PCS
still need to fix new encode / decode
2013-11-12 14:58:59 +00:00
John Cupitt e74a0b71d9 almost done compass 2013-10-24 14:46:08 +01:00
John Cupitt 5475cabbf2 redo im_dilate()/erode() as classes
just a thin wrapper over the vips7 operations for now
2013-10-23 13:15:31 +01:00
John Cupitt 67dff74b2c rot45 works 2013-10-19 18:26:46 +01:00
John Cupitt 45a9e417f4 start vips_conv() 2013-10-01 14:26:13 +01:00
John Cupitt 440b800e0e add a new unbuffered seq mode
things like

	vips copy huge.png x.v

now run with only a small line cache
2013-09-29 11:04:11 +01:00
John Cupitt e5ba019942 start adding unbuffered sequential mode 2013-09-27 14:47:04 +01:00
John Cupitt 7490da07a6 rename image array as matrix
we had vips_image_new_array(), this was confusing with VIPS_TYPE_ARRAY,
something completely different ... rename image array as matrix
2013-07-02 22:09:50 +01:00
John Cupitt c341f0d134 add scRGB functions 2012-12-11 15:25:28 +00:00
John Cupitt 1de6c6bcc6 add binary complex ops
cross_phase is the only one atm
2012-12-06 14:52:51 +00:00
John Cupitt 09789ebdfd add @depth option to dzsave
so you can ask for a 1 layer pyramid
2012-11-01 18:11:46 +00:00
John Cupitt f5790be152 rename UCS as CMC 2012-11-01 10:21:55 +00:00
John Cupitt f8a160de44 Merge remote-tracking branch 'origin/master' into colour
Conflicts:
	ChangeLog
	configure.in
	po/vips7.pot
2012-10-21 12:24:08 +01:00
John Cupitt 2f65b07abb add a @background option to embed and dzsave
you can now set the background colour for edge tiles in dzsave and embed, eg.:

vips dzsave k2.jpg x --background "1 2 3"
2012-10-10 13:22:30 +01:00
John Cupitt dee1aac7b1 dzsave can write zoomify and google maps
use "layout" to pick the directory layout, deepzoom / zoomify / google
all allowed
2012-10-03 14:26:59 +01:00
John Cupitt e793d38aa7 new icc transformer compiles 2012-09-25 22:06:24 +01:00
John Cupitt f8dddf23a9 remove disp stuff, just sRGB now
all the old monitor calibration stuff is gone, we only support sRGB now

im_Lab2disp() etc. have become vips_Lab2sRGB() etc.

compatibility macros keep old code compiling
2012-09-24 11:23:32 +01:00
John Cupitt 0c35f461dc add "deprecated" flag to vips arguments
deprecated arguments still work, but are not shown in help, nor are they
checked for "have-been-set"

you can tag required and optional args as deprecated ... obviously if
you deprecate a required argument you must replace it with a new
argument or scripts will break
2012-08-07 12:52:50 +01:00
John Cupitt 643dc28950 turn on seq mode automatically in cli
cli operations turn on seq mode automatically when they can

vips_operation_get_flags() added: lets you attach a set of flags to an
operation

flags for now are "nocache" (replacing the old nocache system) and "seqential"

if vips_object_set_argument_from_string() from string sees "seq" flag on the
object for which it is setting the arg, it enables sequential mode

all operations which can run sequentially have been tagged

the operation printer knows about flags and can display them
2012-07-10 10:51:40 +01:00
John Cupitt 0231cdf134 Revert "add ARGB coding"
This reverts commit 78b5ad5883.

Conflicts:

	libvips/colour/im_rad2float.c
2012-04-04 17:18:32 +01:00
John Cupitt 78b5ad5883 add ARGB coding 2012-04-02 11:12:40 +01:00
John Cupitt 9ea1387a68 add FLAGS args 2012-02-20 21:02:37 +00:00
John Cupitt 8c6e3738dd fix up ordering issues in seq mode
read order should be guaranteed now, hopefully
2012-02-20 15:03:29 +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 d1f5225e58 more robust char->enum
edvips has much safer char->enum conversion
2012-01-27 17:36:25 +00:00
John Cupitt 351a2ad71c better saving of coded images 2012-01-12 13:39:58 +00:00
John Cupitt 405b89b000 get goi try.py going 2012-01-02 11:06:04 +00:00
John Cupitt 3ee442ca6a move csv load/save to new style 2011-12-16 15:24:35 +00:00
John Cupitt 47fdd3ae6d new tiff writer builds 2011-12-02 18:21:55 +00:00
John Cupitt 89a65c81d2 fix up foreignflags 2011-12-01 21:59:21 +00:00
John Cupitt 56fb2126b8 rename VipsFile as VipsForeign 2011-11-29 11:43:08 +00:00
John Cupitt dd14948652 new-style jpeg save works 2011-11-25 14:34:17 +00:00
John Cupitt 2c641c6644 sync 2011-11-24 14:53:30 +00:00
John Cupitt 0addd7fb6d c2real(), c2imag() -> classes 2011-11-21 14:38:11 +00:00
John Cupitt 187212768d add class for complex ops
and it does conj as well
2011-11-19 11:24:04 +00:00
John Cupitt 3b238d4e7e finish revising new docs 2011-11-18 14:34:33 +00:00
John Cupitt a31c7d8caf added math2, various 2ary math ops 2011-11-13 17:45:27 +00:00
John Cupitt 5b133145a7 move im_shift*( to a class, remove bool package 2011-11-12 17:18:13 +00:00
John Cupitt 2d30264840 redo boolean as a class 2011-11-12 14:11:46 +00:00
John Cupitt 26ae049d91 redo binary relational as a class 2011-11-11 13:45:12 +00:00
John Cupitt 8fe50220d5 move mask/ to deprecated, add VipsRound 2011-11-10 13:53:58 +00:00
John Cupitt cb5f199f1c misc big fixes 2011-11-08 18:36:33 +00:00
John Cupitt b668879856 remove the old vips7 trig operations 2011-11-04 18:28:22 +00:00
John Cupitt 020073606f add classes for all the math functions 2011-11-04 17:55:06 +00:00
John Cupitt 7352d51053 redo im_rot*() as a class 2011-11-04 14:45:56 +00:00
John Cupitt b969ce2aa5 im_*join() redone as a class 2011-10-26 13:26:20 +01:00
John Cupitt e159aba7c7 small fixes, work on join.c 2011-10-26 09:39:14 +01:00
John Cupitt ac377c143b im_dlip*() redone as a class
VipsFlip replaces  im_fliphor() and im_flipver().
2011-10-17 07:15:51 +01:00
John Cupitt 26792ed4e1 bugfixes
get the new arg system working
2011-10-16 17:48:28 +01:00
John Cupitt 8dfb3056ac added VipsEmbed
added VipsEmbed class, new macros for arg boilerplate, new priority
thing for arg ordering
2011-10-16 14:48:47 +01:00
John Cupitt ac3ce8b010 add VIPS_ARGUMENT_APPEND
to give more control over arg ordering, fixes a problem in avg
2011-08-28 12:46:50 +01:00
John Cupitt 7a704bad50 more VipsImage hackery
getting closer to compiling
2011-02-21 09:16:17 +00:00
John Cupitt cbc366cd7d more image to object hackery
More movement of VipsImage to a subclass of VipsObject. im_close.c still
to do. Added wrappings for the enums.
2011-02-14 18:23:01 +00:00