Commit Graph

5069 Commits

Author SHA1 Message Date
Alistair Thomas
db5cedf010 Update GObject instrospection annotations for libvips/freqfilt directory 2017-09-30 22:24:53 +01:00
Alistair Thomas
12b3c66d7c Update GObject introspection annotations for libvips/draw directory 2017-09-30 21:26:52 +01:00
Alistair Thomas
0563330b43 Update GObject introspection annotations for libvips/create directory 2017-09-30 20:47:39 +01:00
Alistair Thomas
d5101319d2 Update GObject introspection annotations for libvips/convolution directory 2017-09-30 20:23:38 +01:00
Alistair Thomas
2917c73404 Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Alistair Thomas
c24d36fc79 Update GObject introspection annotations for libvips/resample directory 2017-09-30 17:26:55 +01:00
John Cupitt
fe20b92e33 Merge pull request #751 from astavale/gi-updates-for-iofuncs
Update GObject introspection annotations for libvips/iofuncs directory
2017-09-30 14:27:21 +01:00
Alistair Thomas
7452d046ca Update GObject introspection annotations for libvips/iofuncs directory 2017-09-30 13:31:00 +01:00
John Cupitt
37ef9c2074 whitespace 2017-09-29 12:44:37 +01:00
John Cupitt
7dda5810f9 rewrite composite in c++
easier to read, will be easier to add PDF operators
2017-09-29 11:54:42 +01:00
John Cupitt
0cc786aa14 give up on PDF modes for now
they need colour channels in [0-1], so some sort of RGB only ... come
back to this later
2017-09-28 15:09:57 +01:00
John Cupitt
775005820d cleanups ready for PDF modes 2017-09-28 11:12:36 +01:00
John Cupitt
c9a83ac9a8 add the rest of the porter-duff operators
PDF ones next, after a reorganisation
2017-09-28 09:04:55 +01:00
John Cupitt
62bc9b7e1d start to add more blend modes 2017-09-27 22:34:05 +01:00
John Cupitt
7e2dbdf5fb move to cairo naming convention
and split alpha calculation off
2017-09-27 21:58:01 +01:00
John Cupitt
dc1f76803c add a 3-band path
the most common case by far
2017-09-27 20:31:51 +01:00
John Cupitt
6da790c1e1 remove a / from the premultiplied path 2017-09-27 17:49:59 +01:00
John Cupitt
4b24d82e8c some cleanups, a bit quicker
it now has separate premultiplied and not-premultiplied paths
2017-09-27 17:32:05 +01:00
John Cupitt
5e64d8ce0d Merge pull request #748 from astavale/gi-updates-for-conversion
Update GObject annotations for libvips/conversion directory
2017-09-27 15:14:57 +01:00
John Cupitt
8cd336033a Merge branch 'master' into add-composite 2017-09-27 13:44:22 +01:00
Alistair Thomas
fd71c3f448 Correct GObject annotation for vips_bandjoin_const() @in parameter from array to instance 2017-09-27 13:43:40 +01:00
John Cupitt
bea3d0cc58 Merge pull request #749 from astavale/gi-updates-for-foreign
Update GObject introspection annotations for libvips/foreign directory
2017-09-27 09:13:03 +01:00
John Cupitt
7c7c30a601 works!
but only OVER mode at the moment, and it's not especially quick
2017-09-27 08:58:36 +01:00
John Cupitt
f6db350a1e Merge pull request #743 from astavale/gi-updates-for-arithmetic
Update GObject introspection annotations for /libvips/arithmetic
2017-09-27 08:58:08 +01:00
Alistair Thomas
0506c49444 Update GObject introspection annotations for libvips/foreign directory 2017-09-26 23:39:06 +01:00
Alistair Thomas
5bad0404c2 Update GObject annotations for libvips/conversion directory 2017-09-26 17:04:17 +01:00
John Cupitt
e44921f481 framework in
just need to implement it now :(
2017-09-26 11:20:13 +01:00
John Cupitt
d2b4478318 more work on binding docs 2017-09-25 13:12:23 +01:00
John Cupitt
6397aae326 rework binding docs 2017-09-25 12:19:23 +01:00
John Cupitt
0aecd57513 add note to docs on VIPS_INIT deprecation
as in, it's not deprecated
2017-09-24 19:35:51 +01:00
John Cupitt
393e2cd766 typo 2017-09-21 10:58:30 +01:00
John Cupitt
18d25cfa08 add autofit_dpi output property 2017-09-21 10:46:17 +01:00
John Cupitt
809f523274 text autosize could overflow 2017-09-21 10:39:37 +01:00
Alistair Thomas
9303ee2511 Update GObject introspection annotations for /libvips/arithmetic directory 2017-09-20 10:36:21 +01:00
John Cupitt
64be1d89b5 add gravity 2017-09-20 00:43:17 +01:00
John Cupitt
8dbc48de8a Merge branch 'master' into gargsms-text-autofit 2017-09-20 00:19:54 +01:00
John Cupitt
e07a1d83fb fix up autofit again
A bit cleaner and simpler now, stops earlier if it can.

I experimented with other ways of picking the next guess, but none were
significantly better than picking the half-way point. The problem is
that autosize can be very non-linear. Line breaks appear and disappear
as you adjust DPI and it's possible to construct cases where it never
tries the correct solution.
2017-09-19 23:02:26 +01:00
John Cupitt
06533d2c9e oop, proportion wrong 2017-09-19 13:01:12 +01:00
John Cupitt
f4151d6e5b faster, more accurate convergence for autofit
better next guess, better final choice
2017-09-19 12:56:42 +01:00
John Cupitt
3cd0d5f161 try changing dpi instead of font size 2017-09-18 23:01:38 +01:00
John Cupitt
a578fd5d87 Merge branch 'text-autofit' of https://github.com/gargsms/libvips into gargsms-text-autofit 2017-09-18 16:30:11 +01:00
John Cupitt
0193e23c64 only flatten in find_trim if there is an alpha
oops, flatten always flattens, it doesn't check for alpha first

see https://github.com/jcupitt/libvips/issues/670
2017-09-18 14:48:15 +01:00
gargsms
3a93f2b2c2 Do not change font size if the font size is already specified 2017-09-18 18:45:28 +05:30
gargsms
a3955c6c0a Fix code convention, issues with gravity 2017-09-18 18:34:50 +05:30
John Cupitt
0d93f9f9dd note flatten before getpoint for find_trim
add note on flatten before getpoint

see https://github.com/jcupitt/libvips/issues/670
2017-09-18 12:56:35 +01:00
John Cupitt
cfe907deb3 missing bandor in find_trim
it cropped too aggressively on images with highly-coloured edges

see https://github.com/jcupitt/libvips/issues/670
2017-09-18 12:44:19 +01:00
John Cupitt
a0dc910dbf Merge pull request #740 from astavale/improve-image-avg-gi
Improve the gobject introspection annotations for Image.avg ()
2017-09-18 10:52:54 +01:00
Alistair Thomas
d289b61fdc Improve the gobject introspection annotations for Image.avg () 2017-09-17 22:51:14 +01:00
John Cupitt
6aca3bae53 re-add goi
it's a hard dep
2017-09-17 17:43:50 +01:00
John Cupitt
bb47d18bad Merge branch 'master' of github.com:jcupitt/libvips 2017-09-17 17:23:25 +01:00