John Cupitt
e106e1d100
add n/page params to webpload
...
and renumber all optional load args
2018-11-01 20:43:07 +00:00
John Cupitt
23e13ea6ed
remove libwebpdemux ifdefs
...
since it's now required
2018-11-01 20:15:36 +00:00
John Cupitt
d4823489dc
switch to libwebpmux for webp write
...
we had our own horrible thing before
2018-11-01 18:50:10 +00:00
John Cupitt
d671d5c7bd
add delay support
2018-10-31 16:52:09 +00:00
John Cupitt
7c6f417e68
fix some typos ... it works!
...
need to add support for delay and loop still
2018-10-31 16:52:09 +00:00
John Cupitt
801a2a7144
added anim write
...
compiles, but untested
2018-10-31 16:49:41 +00:00
John Cupitt
7303ecbebb
typo
...
thanks @becoded
2018-10-31 14:09:57 +00:00
John Cupitt
22ba9106b5
implement shrink-on-load for openslide thumbs
...
makes vipsthumbnail much quicker on openslide images, obviously
see https://github.com/libvips/libvips/issues/1149
2018-10-31 14:07:13 +00:00
John Cupitt
aaf26765f2
warn about default TRUE bool args
...
to stop anyone making one again, hopefully
2018-10-31 12:45:17 +00:00
John Cupitt
0b050f4046
deprecate thumbnail auto_rotate, add no_rotate
...
the auto_rotate option of thumbnail was default TRUE which made it
useless from the CLI, since GOption only allows --switch, not
--switch=false
deprecate auto_rotate, add no_rotate, but allow either to be used
see https://github.com/libvips/libvips/issues/1146
2018-10-31 12:30:37 +00:00
John Cupitt
462158b118
spelling
2018-10-31 12:06:24 +00:00
John Cupitt
b8c9b70427
Merge branch 'master' of github.com:libvips/libvips
2018-10-29 13:29:45 +00:00
John Cupitt
1c6c9e4b82
Merge pull request #1124 from jcupitt/add-png-xmp
...
add xmp load/save for png
2018-10-29 12:37:21 +00:00
John Cupitt
502a3133a2
fix up vips_image_dump()
...
it was still expecting standard libvips enums to be stored as ints ...
this helps im_printdesc as well
see https://github.com/libvips/libvips/issues/1129
2018-10-09 13:16:53 +01:00
John Cupitt
883facb1c0
better handling of flip in autorot
...
if the orientation is one of the ones we don't handle (ie. there's a
flip as well as a rot), don't wipe the header tag
thanks gertcuykens for the suggestion
see https://github.com/libvips/libvips/issues/1028
2018-10-06 13:44:22 +01:00
John Cupitt
6be70e6799
add xmp load/save for png
...
plus a test
2018-10-06 11:54:27 +01:00
John Cupitt
5a48408925
fix licence comments
...
three files had the wrong licence attached in a copy-paste error
thanks kadt!
see https://github.com/libvips/libvips/issues/1121
2018-10-05 06:06:08 +01:00
John Cupitt
703498aa81
Merge branch '8.7'
2018-10-01 21:23:48 +01:00
John Cupitt
0fea113bbf
fix build on older glibs
...
we were using g_str_to_ascii(), but it was only added in glib 2.40
see https://github.com/libvips/libvips/issues/1117
2018-10-01 20:15:34 +01:00
John Cupitt
ff8a1a2c6f
LOW and NONE mean the same
...
small code simplification and cleanup, add docs
2018-09-22 16:21:04 +01:00
John Cupitt
9ac5a449f2
add low/high to smartcrop
...
smartcrop attention had a centre setting, but not low or high
see https://github.com/libvips/libvips/issues/1089
2018-09-22 14:47:40 +01:00
Yazan Medanat
90f578a05f
Change jcupitt references to libvips.
2018-09-21 09:05:47 -07:00
John Cupitt
847009f81b
Merge pull request #1083 from lovell/attention-smartcrop-early-resize
...
Smartcrop (attention): resize at start of pipeline to improve performance/accuracy
2018-09-21 15:25:48 +01:00
John Cupitt
5623bb1330
add a nifti wrapper for vips7
...
so nip2 can now load nifti images
2018-09-10 14:35:49 +01:00
Lovell Fuller
bc6639e08d
Smartcrop (attention): resize at start of pipeline
2018-09-05 21:02:48 +01:00
John Cupitt
3f8c04c38b
add docs for mosaic output
...
note the extra params that let you read out the transform
2018-09-05 09:02:39 +01:00
Lovell Fuller
ec2ad85279
Silence 'missing sentinel' warnings in GCC v6+
2018-09-04 11:00:39 +01:00
John Cupitt
870610af4e
reduce stack usage to help musl
...
don't allocate a pointer array on the stack in arithmetic.c
see f3ef6e52ea
2018-09-04 08:46:37 +01:00
John Cupitt
1702529be0
add a compat stub for vips_region_shrink()
...
to keep ABI compat with 8.6
2018-08-29 09:50:35 +01:00
John Cupitt
8891d6dc29
exif strings were not trimmed correctly
...
drop_tail() missed the final "()"
2018-08-28 11:08:49 +01:00
Lovell Fuller
814af7e832
Fix 72 byte leak when ICC profile is compatible
2018-08-23 22:04:28 +01:00
John Cupitt
fec2f5f869
make vips_object_get_args() return an int
...
since malloc can fail
2018-08-20 08:45:46 +01:00
Kleis Auke Wolthuizen
b5b756b817
Add vips_object_get_args
...
Handy for language bindings.
2018-08-19 22:42:26 +02:00
John Cupitt
3d249924a5
another early close for openexr read
2018-08-19 19:30:11 +01:00
John Cupitt
f4250ab7ab
scale openexr alpha up
...
scale alpha up to 0 - 255 to match the rest of libvips
2018-08-19 10:53:54 +01:00
John Cupitt
b92c55770f
openexr shut down early
...
for non-tiled images anyway
2018-08-19 05:30:49 +01:00
John Cupitt
93e3ffb0bb
note on tiled tiff read
...
I had a quick go at making tiffload shut down early for tiled tiff read,
but it's not really possible because tiled read is not guaranteed to be
ordered.
Add a note for future reference.
2018-08-19 05:19:11 +01:00
John Cupitt
fdafb4de5f
oop fix tiff2vips change
...
y is relative
2018-08-19 04:26:24 +01:00
John Cupitt
10d1aeb6f2
make pdf load close early
...
but only in seq mode
2018-08-17 11:14:06 +01:00
John Cupitt
0b4cef06b7
close early for tiffload
2018-08-16 16:00:14 +01:00
John Cupitt
b836749b75
close jpeg read early
...
The current behaviour (close input handles on unref) works for languages
like C / C++ / Python / Rust / etc. where things get unreffed automatically
when they go out of scope.
On languages like Ruby / C# / node / etc. where things are unreffed on GC,
files can stay open for a long time after you've finished with them. This
interacts in an unfortunate way with the Windows default of refusing to
remove open files.
This change closes file handles as soon as the scan of the input file
finishes, and therefore produces something closer to expected behaviour
for GCd languages on Windows.
see https://github.com/kleisauke/net-vips/issues/12
2018-08-16 15:47:48 +01:00
John Cupitt
f3ef6e52ea
bump max input images for sum
...
was only 64
2018-08-16 15:23:24 +01:00
John Cupitt
d48f80130b
switch to g_open()/g_fopen()
...
Might help with files being left open, perhaps. It's certainly neater.
See https://github.com/kleisauke/net-vips/issues/12
2018-08-15 14:58:12 +01:00
Dimitri Bouron
725d39e691
Fix missing area unref in getpoint()
...
Signed-off-by: Dimitri Bouron <d.bouron@criteo.com>
2018-08-14 14:19:01 +02:00
John Cupitt
01b66f5ccd
clear gif pages before load
...
some gifs may not clear the background, so we must init pages as 0
see https://github.com/lovell/sharp/issues/1331
2018-08-13 17:30:54 +01:00
John Cupitt
643e7c0ea2
mapim fix for strange float values
...
mapim could fail for float index images outside the int range
minor speedup too
2018-08-12 17:10:23 +01:00
John Cupitt
0b3565c04d
update radiance load from upstream
...
thanks Greg Ward
2018-08-03 18:31:31 +01:00
John Cupitt
2bfb471a20
don't escape \n\t\r in xml
...
\n especially happens rather a lot heh
2018-07-25 15:29:42 +01:00
John Cupitt
9147bb64c4
notes
2018-07-24 17:44:41 +01:00
John Cupitt
e89dac20bb
add sniffing framework to magickload
...
though it only spots ICO for now
see https://github.com/jcupitt/pyvips/issues/39
2018-07-24 17:38:36 +01:00