Commit Graph

5550 Commits

Author SHA1 Message Date
John Cupitt
0669cf2a23 Merge branch 'master' into add-webp-animated 2018-11-23 17:41:09 +00:00
John Cupitt
01a5bfa27e notes 2018-11-23 17:22:06 +00:00
John Cupitt
b2325697c3 revise xmp in png
back to blob again
2018-11-23 17:20:05 +00:00
John Cupitt
cff4af34ca add vips_image_set_blob_copy()
and use it where we can
2018-11-23 16:27:39 +00:00
John Cupitt
8fa3b0aa1c start trying to fix up blob/string mixups
we often set strings as blobs (eg. libtiff uses pointer/length for
XML and does not null-terminate) ... when do we validate stringiness,
and add the missing null?
2018-11-22 09:15:57 +00:00
John Cupitt
d4815e8b7e more info output for tmpfile open
to help diagnose problems
2018-11-21 14:26:52 +00:00
John Cupitt
572e37a314
Merge pull request #1159 from lovell/tiffread-premultiplied-alpha
Unpremultiply TIFF with associated alpha channel
2018-11-17 10:59:39 +00:00
John Cupitt
6b9d89b103 add pyr tiff shrink-on-load for thumbnail 2018-11-16 18:00:25 +00:00
John Cupitt
26d0e312c6 add bandand/or/eor to the cpp binding
oops, they had been dropped

thanks clcaalu

see https://github.com/libvips/libvips/issues/1165
2018-11-16 13:10:22 +00:00
John Cupitt
07d58f81b3 fix cast on uint images
we could get sign and overflow mixed up for casts on uint images

see https://github.com/libvips/nip2/issues/74
2018-11-14 17:07:49 +00:00
Lovell Fuller
0d6c29f772 Unpremultiply TIFF with associated alpha channel 2018-11-13 19:47:36 +00:00
John Cupitt
b84bf6d4f4 check read order for strip tiffs
double-check seq is working, related to https://github.com/libvips/libvips/issues/1158
2018-11-13 17:29:36 +00:00
John Cupitt
8edc2c3f22 add webp anim write options 2018-11-06 17:20:35 +00:00
John Cupitt
3e070cbcdf Merge branch 'master' into add-webp-animated 2018-11-05 16:26:45 +00:00
John Cupitt
17c9856e38 add n/page support for webp read 2018-11-05 16:21:21 +00:00
John Cupitt
d6c7d86e12 Merge branch '8.7' 2018-11-05 10:41:46 +00:00
John Cupitt
0bea76d364 fix temp file open
was not auto-deleteing on windows, needs a fallback on linux

see https://github.com/libvips/libvips/pull/1155
2018-11-05 10:40:51 +00:00
John Cupitt
89c6d29079 add comments re. temp file open bug 2018-11-05 10:38:15 +00:00
John Cupitt
e5234287da
Merge pull request #1155 from lovell/open-tmpfile-fallback
Fallback to standard temp file if O_TMPFILE fails
2018-11-05 10:17:00 +00:00
John Cupitt
b161f4b982 clear to background on init 2018-11-04 19:58:06 +00:00
Lovell Fuller
90ca64668d Fallback to standard temp file if O_TMPFILE fails #1151 2018-11-04 19:51:36 +00:00
John Cupitt
e81e7f96eb add blending to webp load 2018-11-04 18:28:36 +00:00
John Cupitt
5e071a783f rework webp for progressive read
should be faster and need a lot less memory for long animations
2018-11-04 12:04:21 +00:00
John Cupitt
d317961378 check frame durations 2018-11-03 14:03:16 +00:00
John Cupitt
7071ad79a8 fix non-animated read 2018-11-03 12:39:08 +00:00
John Cupitt
d7e8688c35 loads an animation as a set of frames
still need to add dispose and blend, plus page/n
2018-11-02 16:47:34 +00:00
John Cupitt
3194083af2 reads animation headers
decode animation frames next
2018-11-02 10:22:03 +00:00
John Cupitt
5dadc03ce0 start animation decode for webp
switch to demux API, start extended header read
2018-11-02 09:06:05 +00:00
John Cupitt
556a165e53 tiny polish 2018-11-02 07:38:06 +00:00
John Cupitt
226f6e4f09 read the loop count 2018-11-01 22:17:54 +00:00
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
12f81a1477 Merge branch 'add-webp-animated' of github.com:libvips/libvips into add-webp-animated 2018-10-31 16:52:51 +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
bb1bcfbbf0 add delay support 2018-10-30 15:42:11 +00:00
John Cupitt
f2ab0ab374 fix some typos ... it works!
need to add support for delay and loop still
2018-10-30 15:22:22 +00:00
John Cupitt
75da1472e8 added anim write
compiles, but untested
2018-10-29 18:32:20 +00:00
John Cupitt
ecdbf66f4d
Merge pull request #1145 from jcupitt/master
fix vips_image_dump()
2018-10-29 13:31:42 +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
67740c5d37
Merge pull request #1133 from Fingolfin1196/master
Add is_null check to VImage
2018-10-10 15:12:10 +01:00
Fingolfin1196
c7f828e968
Update VImage8.h
Should fix the “nullptr undeclared” issue.
2018-10-10 15:57:50 +02:00