John Cupitt
6dbdc173a2
better prefix guessing on Windows
...
see https://github.com/tumagonx/pygi-mingw-patches/issues/5
2017-05-13 11:11:32 +01:00
John Cupitt
689b632702
better locale guess for win32
...
see
https://github.com/tumagonx/pygi-mingw-patches/blob/master/gst-plugins-base-1.4.x.patch
also
https://github.com/tumagonx/pygi-mingw-patches/issues/5
2017-05-11 19:49:29 +01:00
John Cupitt
ba129fceb3
better win32 compatibility
...
try to fold the patches @tumagonx maintains into libvips master, see:
https://github.com/tumagonx/pygi-mingw-patches/blob/master/vips-8.4.x.patch
still missing the bindtextdomain() patch though
2017-05-11 17:08:10 +01:00
John Cupitt
36761bcfd7
make vips_gaussnoise() pixels reproducible
...
previously, pixel values were regenerated on every calculation, so they
changed on recomputation
pixel values are now generated from the pixel (x, y) coordinate plus a per-call
seed
thanks MvGulik, see
https://github.com/jcupitt/nip2/issues/60
https://github.com/jcupitt/libvips/issues/583
2017-01-24 09:36:25 +00:00
John Cupitt
0c4a40e82f
oop missed a merge conflict
2017-01-04 10:18:54 +00:00
John Cupitt
262d5a10f7
Merge branch 'master' into glib-logging
2017-01-04 10:13:06 +00:00
John Cupitt
07e6ac1994
support --vips-info
...
now turns on glib g_info() output
2017-01-04 07:23:50 +00:00
John Cupitt
e7a6ea3d0c
oops! revert previous
2017-01-03 17:12:42 +00:00
John Cupitt
0d97c78f02
compat macro for early glibs
2017-01-03 17:06:50 +00:00
John Cupitt
57e1423d57
Merge branch 'master' into windows-unicode
2016-09-05 13:12:06 +01:00
John Cupitt
c4a1ac6310
fix ROUND_UP, add a test for felix's corner case
2016-08-20 13:18:25 +01:00
John Cupitt
271d8656e9
use round() rather than rint() where appropriate
...
rint() rounds to nearest even, rather than nearest ... in some cases,
like geometry transforms, we want strict nearest
2016-08-20 12:59:41 +01:00
John Cupitt
578764b582
gifload does unicode on win
...
sigh again
2016-08-17 14:37:15 +01:00
John Cupitt
feca00958c
seems to be sort-of working!
2016-08-16 18:33:48 +01:00
John Cupitt
e439c5f78f
add .svg.gz suffix
...
allow .x.y suffixes
2016-08-01 14:57:33 +01:00
John Cupitt
db11d3b973
allow nested [] in CLI args
...
this now works:
vips copy x y.dz[suffix=.jpg[Q=90]]
2016-05-16 11:09:47 +01:00
John Cupitt
840c3f2e63
oops typo
...
thanks Lovell
2016-02-22 14:08:36 +00:00
John Cupitt
adfd25a5ed
byteswap popplerload
...
and better path absoluteization
2016-02-08 16:37:47 +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
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
Lovell Fuller
90c1fb9a94
Use gcc/clang isnan and isinf builtin functions where available.
...
These are used heavily in the building of look-up tables at
start-up time and therefore improve vipsthumbnail perf by ~4%.
2016-01-20 19:02:14 +00:00
John Cupitt
5cb2239d7d
try to support DOS ppm/csv files on linux
...
swap \r\n for \n in vips__fgetc()
2015-06-04 12:58:30 +01: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
John Cupitt
1e6cd1b1a5
clean up length return
...
read file to mem was using uint for length for historical reasons
2014-09-18 10:19:24 +01:00
John Cupitt
d9affe1c2a
rearrange tree after dz save to fs for compat
...
rearrange the directory tree after dzsave for compatibility with
earlier libvips
2014-05-08 14:57:33 +01:00
John Cupitt
1a3c62851e
move some junk to deprecated/
2014-05-06 22:01:20 +01:00
John Cupitt
c81a12ee00
vips_system() now uses g_spawn_command_line_sync()
...
helps stop stray command windows appearing on Windows, better error msg
too
2014-05-03 18:04:25 +01:00
John Cupitt
b806659fd5
fix up filename options
...
all done in vips_foreign_load() / vips_foreign_save() now
added vips__filename_split8()
2014-04-26 11:21:04 +01:00
John Cupitt
d7037618fc
use a define for PATH_MAX
...
add VIPS_PATH_MAX, a long-enough-for-almost-any-path buffer size
we ought to switch to dynamic paths really ... do this when we fix
filename encoding
2013-12-01 12:18:16 +00:00
John Cupitt
55bfa92725
add a vips7 interface to the deepzoom writer
2013-06-11 12:32:46 +01: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
5ab6e2d1aa
Merge remote-tracking branch 'origin/7.28'
2012-04-10 16:53:03 +01:00
John Cupitt
7af1fb34d7
cast to unsigned int did not remove <0
...
previously cast to uint did nothing (since the positive range of uint is
greater than int), now it changes <0 values to 0
2012-04-10 14:26:41 +01:00
John Cupitt
a07b73f73e
dropped some oops
2012-03-21 14:56:01 +00:00
John Cupitt
c197e2f90e
more robust enum printing
2012-01-27 17:14:59 +00:00
John Cupitt
2dec30da2c
better options parser
...
now only gets the options from the very end of a filename, so this
works:
"this should work (I hope!!).tif[compression=jpeg]"
2012-01-07 14:10:02 +00:00
John Cupitt
7ae919e4f4
more hacking on gio warnings
...
all the serious ones seem to be fixed now
2012-01-01 12:04:46 +00:00
John Cupitt
1fe6241a5e
move enum gtk-doc
...
move the enum gtk-doc comments into the headers, matching glib's style
I hope this might fix some warnings during gtk-doc generation, but they
seeem to still be there, ah well
2011-07-28 12:22:44 +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
20a65cca59
aconvsep supports all formats
...
float/int/complex etc. all work
2011-06-04 21:12:55 +01:00
John Cupitt
4120f7b296
cleanup util
...
just a few little things left, yay
2011-03-28 16:03:31 +01:00
John Cupitt
c95aa263dd
small cleanups
...
found a few little things
2011-03-25 20:16:09 +00:00
John Cupitt
241187146f
debug.c makes it
...
by removing most of it, argh. add _sanity() as an object mthod.
2011-02-25 18:07:09 +00:00
John Cupitt
7a704bad50
more VipsImage hackery
...
getting closer to compiling
2011-02-21 09:16:17 +00:00
John Cupitt
7f081f4d54
more hackery
...
headers compile now, just about, working on image.c
2011-02-16 14:40:31 +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
John Cupitt
233cbf1f15
get all fopen()s going through util.c
...
Add a text_mode flag to im__file_open_write() and _read() so we can
route all fopen() though these two functions.
2011-01-31 16:00:35 +00:00
John Cupitt
5684349d56
fix G_STMT oopses
2010-11-15 12:12:28 +00:00
John Cupitt
5283a14575
stuff
2010-11-02 14:48:46 +00:00
John Cupitt
f3b5bfde80
merge orc branch
2010-11-01 17:46:47 +00:00