Commit Graph

7652 Commits

Author SHA1 Message Date
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
John Cupitt
bf522eeffc fix libnsgif restore/record ordering 2021-03-07 14:37:33 +00:00
John Cupitt
f74d6c795d Merge branch 'master' into add-libnsgif 2021-03-07 14:37:14 +00:00
John Cupitt
7317b2b842 remove mention of exr save in configure
oops
2021-03-07 13:01:57 +00:00
John Cupitt
387c9a3b73 swap hard tabs for spaces in configure
makes output easier and safer to copy-paste
2021-03-07 12:53:20 +00:00
John Cupitt
fae5d9cc82 improve configure summary table
- order and group summary
- list by file format type, rather than library
- describe as load/save rather than import/export
- also --vips-config output

I split the VIPS_CFLAGS, VIPS_INCLUDES and VIPS_LIBS var settings into
the various finders for maintainability.
2021-03-07 12:41:44 +00:00
John Cupitt
fc4ad15f97 Merge branch '8.10' 2021-03-07 12:26:24 +00:00
John Cupitt
ab4dd00fdd
Merge pull request #2134 from kleisauke/cleanup-configure
Cleanup configure.ac and #ifdef's
2021-03-07 11:29:47 +00:00
Kleis Auke Wolthuizen
3ed50e0427 Cleanup configure.ac and #ifdef's 2021-03-06 15:47:07 +01:00
John Cupitt
6666b941bf fix a ref leak in vipsthumbnail
from the previous refactoring
2021-03-06 13:33:00 +00:00
John Cupitt
ec16c761df revise changelog for clarity 2021-03-06 12:56:35 +00:00
John Cupitt
94503c1aca update for newer pandoc
"smart" extension is no longer supported for docbook
2021-03-06 12:47:31 +00:00
John Cupitt
8cddba44ab Merge branch 'master' into improve-detection-of-bad-profiles 2021-03-06 11:47:53 +00:00
John Cupitt
2e56828053 Merge branch '8.10' 2021-03-06 11:47:02 +00:00
John Cupitt
81dffdd571
Merge pull request #2120 from libvips/revise-premultiply
Revise premultiply
2021-03-06 10:25:20 +00:00
John Cupitt
0623a05f48 remove vips_recip()
it wasn't really necessary, and it was rather slow
2021-03-05 20:19:05 +00:00
John Cupitt
a4d89b852a Merge branch '8.10' into revise-premultiply 2021-03-05 12:17:20 +00:00
John Cupitt
b14bac53a3 guard refs to ZSTD
so we work on older libtiffs
2021-03-05 12:16:38 +00:00
John Cupitt
6db234fae8 Merge branch 'revise-premultiply' of github.com:libvips/libvips into revise-premultiply 2021-03-05 11:24:14 +00:00
John Cupitt
726fded66c formatting 2021-03-05 11:24:00 +00:00
John Cupitt
1f18963cb4
Merge branch '8.10' into revise-premultiply 2021-03-05 11:17:40 +00:00
John Cupitt
9585feb5a8 allow thumbnail colourspace export with no import
allow this case:

	vipsthumbnail k2.jpg --export-profile cmyk

for an image with no embedded profile
2021-03-05 11:11:49 +00:00
John Cupitt
c4d56fd475 Merge branch 'revise-premultiply' of github.com:libvips/libvips into revise-premultiply 2021-03-05 10:46:21 +00:00
John Cupitt
ef4f95cddc cleanup for Kleis comments 2021-03-05 10:46:06 +00:00
John Cupitt
ea2264ea2e
Update libvips/resample/thumbnail.c
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
2021-03-05 10:44:31 +00:00
John Cupitt
495b54dfcf grou predictor settings 2021-03-04 17:31:08 +00:00
John Cupitt
4eb3c86045
Merge pull request #2129 from Adios/8.10-add-tiff-zstd-predictor
Add tiff zstd predictor support
2021-03-04 17:27:42 +00:00
AdiosF6F
4d0252f31c
add tiff zstd predictor support 2021-03-04 22:38:47 +08:00
John Cupitt
86a6fd9d18 fix tiff deflate predictor setting
the enums were mixed up, thanks Adios

see https://github.com/libvips/libvips/issues/2128
2021-03-04 09:39:50 +00:00
John Cupitt
2a087df8fc add some printf dbg
to linnsgif, trying to find the GIF decode bug
2021-03-02 10:19:22 +00:00
John Cupitt
68332663fb update libnsgif from git master
though unfortunately libnsgif seems to have broken DISPOSE_PREVIOUS
handling again
2021-02-28 14:29:27 +00:00