Commit Graph

7280 Commits

Author SHA1 Message Date
John Cupitt
89c12b0e62 fix nsgifload metadata
various issues pointed out by @lovell
2021-03-28 13:33:16 +01:00
John Cupitt
cb660b32fe
Merge pull request #2156 from libvips/add-openjpeg
Add JPEG2000 support
2021-03-27 17:10:42 +00:00
John Cupitt
09c6074014 ... and quantise 2021-03-27 16:18:56 +00:00
John Cupitt
32fca6f21b ... and two pdfloads 2021-03-27 16:09:41 +00:00
John Cupitt
fd56067f54 oop, left gifload.c in the merge 2021-03-27 15:39:29 +00:00
John Cupitt
69fcf1b9e9
Merge branch 'master' into add-openjpeg 2021-03-27 15:22:13 +00:00
John Cupitt
595f5a1b71 make autosubsample more consistent
always disable subsample for Q>=90, and update docs too
2021-03-27 15:16:38 +00:00
John Cupitt
9cbb4c2cd1
Merge pull request #1709 from libvips/add-libnsgif
Add libnsgif support
2021-03-27 15:10:30 +00:00
John Cupitt
9589a51f09 fix a compiler warning 2021-03-27 11:35:07 +00:00
John Cupitt
8c4486327e heifsave defaults to AV1 for .avif suffix 2021-03-26 09:50:17 +00:00
John Cupitt
4e60a3072f
Merge pull request #2159 from der-eismann/fix-heifsave-filename-argument
Set correct description for heifsave argument
2021-03-24 22:45:52 +00:00
Philipp Trulson
13a4d9f7ea
Set correct description for heifsave argument 2021-03-24 22:57:06 +01:00
John Cupitt
6ab30ca732 Merge branch '8.10' 2021-03-23 23:18:48 +00:00
John Cupitt
2df5768d99 note vector fix in changelog 2021-03-23 20:53:06 +00:00
John Cupitt
a16c0c0d78 set mct more carefully 2021-03-23 18:50:39 +00:00
John Cupitt
40c020ccd2 more jp2k tests 2021-03-23 17:15:02 +00:00
John Cupitt
d69512c8b0 fix lossless save, ycc load 2021-03-23 16:43:09 +00:00
John Cupitt
0f86453f76
Merge pull request #2144 from kleisauke/ensure-composite-alignment
Ensure max_band vector is aligned on a 16-byte boundary
2021-03-23 16:15:02 +00:00
Kleis Auke Wolthuizen
305714c978 Move max_band_vec to first position 2021-03-23 16:47:53 +01:00
John Cupitt
1936ca05ee add ycc load/save and chroma subsample 2021-03-23 14:01:17 +00:00
John Cupitt
58facca758
Merge pull request #2158 from ffontaine/master
drop last remnant of dmalloc
2021-03-23 02:34:51 +00:00
Fabrice Fontaine
1b002cc32b drop last remnant of dmalloc
Drop last remnant of dmalloc which was removed in version 7.28.0 with
ae8faf6597

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-03-22 23:49:54 +01:00
John Cupitt
24f230b67d add ycc and upsample support 2021-03-21 19:34:02 +00:00
John Cupitt
fb6891d02b typo in header 2021-03-20 14:22:06 +00:00
John Cupitt
cedc3f1f1d disable threading for older openjpegs 2021-03-20 14:14:08 +00:00
John Cupitt
5f0be5d3dc remove obsolete doxy tag 2021-03-20 14:02:12 +00:00
John Cupitt
02163e7810 add openjpeg to CI 2021-03-20 13:00:42 +00:00
John Cupitt
76b7cddba1 better rounding in tile calcs 2021-03-20 12:54:32 +00:00
John Cupitt
7a900e0a4e add vipsthumbnail support for jp2k
It'll use the jp2k pyramid, if possible.
2021-03-20 12:33:38 +00:00
John Cupitt
28cbdcc65d revise doc comments 2021-03-20 12:23:00 +00:00
John Cupitt
2575d963bd add jp2k tests
and buffer load/save
2021-03-20 12:16:10 +00:00
John Cupitt
74d2472966 add jp2k quality options 2021-03-20 11:55:42 +00:00
Kleis Auke Wolthuizen
e7faebf6af Tell the compiler that v4f is aligned
It's guaranteed that this is now aligned on a 16-byte boundary.
2021-03-20 11:33:37 +01:00
John Cupitt
40ece64ff7 added 32-bit support
issues remaining:

- params for compression ratio, chrominance subsampling, etc. ...  imagemagick
  jp2 files are half the size of ours https://imagemagick.org/script/jp2.php

- metadata, eg. icc profile etc.

- alpha channels do not seem to be tagged correctly

- tests
2021-03-19 14:37:52 +00:00
John Cupitt
454f448c5b add jp2ksave
works, but not quite done
2021-03-19 11:49:07 +00:00
John Cupitt
1bcaab00a6 use "page" param for jp2k pyr layers
should make it easy for thumbnail etc.
2021-03-18 16:16:46 +00:00
John Cupitt
7d69f6bc84 small fix to openexr load 2021-03-18 12:47:03 +00:00
John Cupitt
197239727d add shrink on load
though openjpeg seems very unreliable if you actually use this
2021-03-18 12:46:30 +00:00
John Cupitt
52e32dec19 fix tiled read 2021-03-18 09:52:38 +00:00
John Cupitt
c0ec1757cb works at a basic level
need to add shrink-on-load etc.
2021-03-17 16:38:55 +00:00
John Cupitt
c2eebacf5a start adding jp2k load 2021-03-17 11:31:25 +00:00
Kleis Auke Wolthuizen
5ef9c84f97 Use cross-platform functions for allocating aligned memory
A malloc library is expected to provide a better implementation.
2021-03-15 11:10:16 +01:00
John Cupitt
8d6f90c060 Merge branch '8.10' 2021-03-14 11:03:40 +00:00
John Cupitt
3dad98952c
Merge pull request #2145 from kleisauke/force-100ms
vips2webp: force low duration frames to 100ms
2021-03-14 10:37:44 +00:00
Kleis Auke Wolthuizen
62b0939c4b vips2webp: force low duration frames to 100ms 2021-03-13 22:04:37 +01:00
Kleis Auke Wolthuizen
a55513a194 Ensure max_band vector is aligned on a 16-byte boundary
See https://github.com/mstorsjo/llvm-mingw/issues/190
2021-03-12 14:27:19 +01:00
Kirk Martinez
af61d6b4ff
added Lovel and Kleis 2021-03-09 16:51:51 +00:00
John Cupitt
003a444158 oop, we no longer need vips-operators.h 2021-03-07 15:03:13 +00:00
John Cupitt
b51f4dab28 fix make dist 2021-03-07 14:59:31 +00:00
John Cupitt
f256359f8c remove dbg printf 2021-03-07 14:38:16 +00:00