Commit Graph

3934 Commits

Author SHA1 Message Date
John Cupitt
85b21f2201 Merge remote-tracking branch 'origin/master' into add-librsvg 2016-02-09 16:53:56 +00:00
John Cupitt
84abdbbd81 Merge branch 'master' of github.com:jcupitt/libvips 2016-02-09 16:38:28 +00:00
John Cupitt
e68cc33eed move some generated doc stuff out of git 2016-02-09 16:36:30 +00:00
John Cupitt
a739ba9ca2 Merge pull request #380 from felixbuenemann/improve-bootstrap-sh
bootstrap.sh: Better doc pruning / support acdir dirlists
2016-02-09 16:34:06 +00:00
John Cupitt
fc7691b04a oops overflow
thanks lovell
2016-02-09 15:55:22 +00:00
John Cupitt
4a63e961ea much faster is_a_svg 2016-02-09 14:42:27 +00:00
John Cupitt
3e9c0b4068 oop typo 2016-02-09 14:08:09 +00:00
John Cupitt
56e45545d3 fix load from buffer 2016-02-09 11:58:43 +00:00
John Cupitt
153886d2eb add svgload
load from bubffer is not working though, strange ... it seems to be
generating a 16-biit image?
2016-02-09 11:01:12 +00:00
John Cupitt
625e0fbd9e vipsthumbnail knows about pdfload
woo, fast!
2016-02-09 09:26:54 +00:00
Felix Bünemann
cadca29fd1 Better doc pruning / support acdir dirlist
* Clean doc dir with find instead of moving files to keep to temp dir
* Limited support for automake ACDIR dirlists (no wildcard handling)
2016-02-09 05:25:29 +01:00
John Cupitt
8ffbe98a29 note svg and gif loader needs 2016-02-08 21:47:12 +00:00
John Cupitt
5ca90dc2be final polish 2016-02-08 21:40:44 +00:00
John Cupitt
676d35ed74 add pdfload tests 2016-02-08 20:39:39 +00:00
John Cupitt
9f566fa4a9 update cplusplus binding 2016-02-08 20:26:22 +00:00
John Cupitt
991cc4f88b rename as pdfload 2016-02-08 20:25:03 +00:00
John Cupitt
bff4157773 add load pdf from buffer 2016-02-08 17:48:18 +00:00
John Cupitt
b7030d004a add file type sniffing 2016-02-08 17:04:31 +00:00
John Cupitt
5db2c64d90 add @scale option
and set xres/yres
2016-02-08 16:57:37 +00:00
John Cupitt
adfd25a5ed byteswap popplerload
and better path absoluteization
2016-02-08 16:37:47 +00:00
John Cupitt
be574be539 popplerload hacking
metadata, relative filenames
2016-02-08 14:41:57 +00:00
John Cupitt
69c2fe00f7 add C API and docs for popplerload 2016-02-08 10:05:37 +00:00
John Cupitt
a7192ce8c6 update notes 2016-02-08 10:00:18 +00:00
John Cupitt
a41a1d5c33 popplerload seems to work
though it's not been tested much
2016-02-08 09:30:33 +00:00
John Cupitt
8da4e706dd start adding poppler support 2016-02-07 23:33:43 +00:00
John Cupitt
41b41effde Merge branch 'add-reduce' 2016-02-07 17:46:46 +00:00
John Cupitt
8cffd136e9 finish reduce
and fix up bicubic a bit, it works better on int32 images now
2016-02-07 17:41:39 +00:00
John Cupitt
39e6963033 start tests 2016-01-29 17:55:54 +00:00
John Cupitt
67f3ecfd8d wire up to resize / similarity
still need tests
2016-01-29 15:23:00 +00:00
John Cupitt
fbe010b80a in-line reduceh as well 2016-01-29 15:01:54 +00:00
John Cupitt
dd7b30bd00 in-line reducev
bit quicker
2016-01-29 13:16:00 +00:00
John Cupitt
3bb24f2567 some tinkering
still not very quick
2016-01-28 09:33:32 +00:00
John Cupitt
4b2349323c all working
though not as quick as hoped :(
2016-01-27 21:59:07 +00:00
John Cupitt
991349c9a7 add cubicv, reducev
untested
2016-01-27 15:01:54 +00:00
John Cupitt
3e78bdb6a9 reduceh is working! 2016-01-27 14:34:06 +00:00
John Cupitt
e4b31dde38 fix labq sparc read
byteswap was swapping coded images, or trying to
2016-01-27 12:44:36 +00:00
John Cupitt
add75f235f version bump 2016-01-27 12:44:24 +00:00
John Cupitt
8b09c86492 add cubich interp., start reduceh 2016-01-27 11:12:36 +00:00
John Cupitt
65930cf866 version bump 2016-01-26 16:45:56 +00:00
John Cupitt
1f93efd65d fix more compiler warnings 2016-01-26 16:41:03 +00:00
John Cupitt
db20d70495 fix some more compiler warnings
and a bit of formatting
2016-01-26 15:10:46 +00:00
John Cupitt
2698688c94 oops spelling 2016-01-26 13:37:56 +00:00
John Cupitt
4d18300560 add VIPS_FABS/MAX/MIN/CLIP
macros which use the gcc __builtin_fabs() etc. functions when they can
2016-01-26 12:26:21 +00:00
John Cupitt
baf5e860e3 Merge pull request #374 from lovell/conv-allow-vectorise
Improve convolution performance by 20-25%
2016-01-26 09:18:11 +00:00
Lovell Fuller
0cac224431 Replace use of "Duff's device" with for-loop to allow compiler to optimise.
Reduces CPU instruction count of conv_gen function by ~30%.
Improves performance of convolution operation by 20-25%.
2016-01-25 21:17:41 +00:00
John Cupitt
73bcc8b5d3 improve the using-C docs
add some stuff on giving options to operations

see https://github.com/jcupitt/libvips/issues/373
2016-01-25 09:35:06 +00:00
John Cupitt
07a1903390 use g_assert_not_reached()
we were using g_assert(0) ... g_assert_not_reached() makes the
intention clearer
2016-01-24 13:21:53 +00:00
John Cupitt
31e4168718 clip bicubic output range from int
The output range of the bicubic interpolator is outside the input range,
we must clip from a larger type.

See https://github.com/jcupitt/libvips/pull/372
2016-01-23 10:09:11 +00:00
John Cupitt
0dd7f14ada put interpolate param back
Although no current interpolators use the interpolate param, having it
there makes it possible for other (perhaps user-defined) interpolators
to be parameterised.

For example, you could write:

	vips affine in.v out.v "2 0 0 2" --interpolate sharp[2]

and `sharp` could do a bicubic and sharpen by 2 in a single operation.

See https://github.com/jcupitt/libvips/pull/372
2016-01-23 09:57:27 +00:00
John Cupitt
a7d889df06 use builtin floor / ceil
get rid of FAST_PSEUDO_FLOOR, add VIPS_FLOOR and VIPS_CEIL, use them
everywhere

see https://github.com/jcupitt/libvips/pull/372
2016-01-23 09:50:57 +00:00