Commit Graph

7926 Commits

Author SHA1 Message Date
John Cupitt d4c5556c83 fix jp2k pyramid generation
8.11.1 broke it, unfortunately
2021-07-02 17:19:27 +01:00
John Cupitt 951e900a32 fix libdir directory guessing on windows 2021-07-02 17:18:46 +01:00
John Cupitt 16f32d2967
Merge pull request #2335 from kleisauke/autoconf-pkgconf-macros
Use autoconf macros for pkgconf where possible
2021-07-02 15:33:18 +01:00
Kleis Auke Wolthuizen ab5f437259 Use autoconf macros for pkgconf where possible 2021-07-02 15:57:25 +02:00
John Cupitt ec1d1abf50 Merge branch '8.11' 2021-07-02 12:35:24 +01:00
John Cupitt d07dee8b0c better libdir guessing
take the lib directory name (eg. "lib64" etc.) from the configure
time libdir
2021-07-02 11:50:34 +01:00
John Cupitt 5fff62576e more dbg output 2021-06-30 17:22:35 +01:00
John Cupitt 7e5312f626 more dbg code 2021-06-30 14:30:02 +01:00
John Cupitt ad40d881dd remi's libdir patch, plus version bump to 8.11.2 2021-06-29 17:41:08 +01:00
Remi Collet c7f7fc52e8 use /lib64 instead of /lib when needed 2021-06-29 17:35:33 +01:00
John Cupitt 757d031005 always check the return of vips_image_pipeline()
For consistency. Although I don't think it can meaningfully fail.
2021-06-29 16:12:17 +01:00
John Cupitt ebcdf246f8 Merge branch '8.11' 2021-06-29 12:15:19 +01:00
John Cupitt 2ca96a3fef add another test for tiff ifd pyramids
test loading from a lower layer
2021-06-29 08:34:42 +01:00
John Cupitt ea5972055f Merge branch '8.11' 2021-06-28 20:33:51 +01:00
John Cupitt 8851150375 fix some tabs 2021-06-28 20:32:56 +01:00
John Cupitt 4ee12e5675 trim some dead code 2021-06-28 20:31:09 +01:00
John Cupitt 95bf1367ba fix jpeg tiff pyramid save
we were not copying the quant tables on lower pyr levels correctly

add a test too
2021-06-28 20:24:00 +01:00
John Cupitt fc9e7ad2b3 Note static patch in changelog 2021-06-28 18:31:14 +01:00
John Cupitt f8479e4667
Merge pull request #2323 from kleisauke/disable-modules-static
Disable modules by default when building static libraries
2021-06-28 18:30:24 +01:00
Kleis Auke Wolthuizen 1727f2c6ae Disable modules by default when building static libraries
Might help: https://github.com/libvips/libvips/issues/2317
2021-06-28 18:28:19 +02:00
John Cupitt b7e723fcc7 Merge branch '8.11' of github.com:libvips/libvips into 8.11 2021-06-28 16:48:41 +01:00
John Cupitt a8c45be816 fix arg type for TIFFTAG_SUBIFD
We were passing int* when TIFFGetField wanted unit16, so subifd counts
could sometimes be wrong.
2021-06-28 16:43:55 +01:00
John Cupitt 5539e7951a
Merge pull request #2318 from lovell/svgload-check-dimensions
svgload: skip images with invalid dimensions
2021-06-28 15:32:19 +01:00
Lovell Fuller d1c038c22d svgload: skip images with invalid dimensions 2021-06-28 14:21:40 +01:00
John Cupitt 1b3dda5b24 enable strip chopping on TIFF load
see https://github.com/libvips/libvips/discussions/2322

thanks DavidStorm
2021-06-28 12:30:04 +01:00
John Cupitt 7512e410ca add svgload_string
simple convenience function for C
2021-06-28 11:45:56 +01:00
John Cupitt 067d603182 oop typo 2021-06-23 12:26:21 +01:00
John Cupitt 706c2a112d Merge branch '8.11' 2021-06-23 12:25:43 +01:00
John Cupitt 40a04fdbc1 improve startup info 2021-06-22 18:39:41 +01:00
John Cupitt eeb64b6968 change init prefix fallback order
Use the configure time prefix second rather than going straight to
search. This should help ruby-vips on homebrew.
2021-06-22 18:09:57 +01:00
John Cupitt 1cd4b848e7 enable info output earlier 2021-06-22 15:38:54 +01:00
John Cupitt b9034bf731 more startup debug output
if VIPS_INFO is set
2021-06-22 15:28:21 +01:00
John Cupitt 336ee9420a Merge branch '8.11' of github.com:libvips/libvips into 8.11 2021-06-22 14:18:22 +01:00
John Cupitt 5f28f67d4c fix build with jp2k debug enabled 2021-06-22 14:15:05 +01:00
John Cupitt 78c08650d3 revise win32 support in configure
update LT_INIT with new dll option
2021-06-22 11:48:06 +01:00
John Cupitt ed035670b6
Merge pull request #2308 from remicollet/issue-lib64
use /lib64 instead of /lib when needed
2021-06-18 11:51:12 +01:00
John Cupitt 4ee19edd46 add another C example
see https://github.com/libvips/libvips/issues/1167
2021-06-18 11:39:00 +01:00
Keim, Stefan f75f698ab4 Add atan2 to math2 2021-06-18 11:14:02 +02:00
Remi Collet ea48b6a482 use /lib64 instead of /lib when needed 2021-06-15 15:17:35 +02:00
John Cupitt 3c0bfdf74c
Merge pull request #2307 from DarthSim/fix/pdfium-source-leak
Unref source on vips_foreign_load_pdf_close
2021-06-15 13:19:37 +01:00
DarthSim f15fd3eae0 Unref source on vips_foreign_load_pdf_close 2021-06-15 17:26:55 +06:00
John Cupitt dc56a5aa65 all install programs support --version
and a version bump to 8.12 for the new dev cycle
2021-06-15 10:33:42 +01:00
John Cupitt 16a6c08af7 update svgload to work with latest librsvg
rsvg_handle_render_cairo() is deprecated
2021-06-11 10:35:17 +01:00
John Cupitt 06b429955a Merge branch 'master' into 8.11 2021-06-09 13:23:20 +01:00
John Cupitt 4b0fd255de
Merge pull request #2293 from DarthSim/fix/svg-error-leak
Delete Cairo context on rsvg_handle_render_cairo error
2021-06-09 13:22:17 +01:00
DarthSim b8f7fb6d20 Delete Cairo context on rsvg_handle_render_cairo error 2021-06-09 17:41:37 +06:00
John Cupitt e96fc955bc comment reason for thread_execute revert 2021-06-07 14:30:21 +01:00
John Cupitt 939437d56e Merge commit '4c263a36e9e728b5ab5cc1f4f3cafe5738a6b6e7' into 8.11 2021-06-07 14:26:58 +01:00
Kleis Auke Wolthuizen 4c263a36e9 Don't run sinkscreen thread in threadpool
Since threads on Windows can be terminated prior to the execution
of the atexit registered functions (i.e. vips_shutdown), causing
a surprising deadlock. This thread is never recycled, so it should
be fine.

Reverts commit d1b4d12388 partially.
2021-06-07 14:39:47 +02:00
John Cupitt 6804ff61df load non-transparent GIFs as RGB
And GIFs with transparent elements as RGBA. This can make downstream
processing (eg. in vipsdisp) much quicker since it can save a
composite.
2021-06-07 09:54:53 +01:00