Commit Graph

13 Commits

Author SHA1 Message Date
Kleis Auke Wolthuizen 0337c09700
Cleanup gettext handling (#2695)
Use GLib's i18n support instead of copying and pasting that
logic into its own header. This deprecates the vips/intl.h
header in favour of glib/gi18n.h.
2022-02-27 15:27:28 +00:00
John Cupitt d2a9a20a78 fix thumbnail regression with cmyk in and out
56d98f3ef0 broke cmyk->cymk thumbnails
2019-04-23 17:09:20 +01:00
John Cupitt a7122d7a85 revise XYZ2CMYK fallback path
better epsilon detect, add a test
2019-01-16 21:02:01 +00:00
John Cupitt a67f92b8d9 reformat in vips style 2019-01-16 20:18:09 +00:00
Dimitri Bouron 5f61727253 Fix black channel overwrite in XZY2CMYK.c 2019-01-16 19:06:36 +01:00
John Cupitt 8ded32ac20
Merge branch 'master' into cmyk2srgb 2019-01-12 14:39:20 +00:00
Dimitri Bouron d87bf01fdc Add cmyk <-> xyz default colourspace conversion
If no lcms2 library has been found, fallback to default
cmyk <-> xyz conversion.
Please note that it is an approximative conversion.
2019-01-11 11:48:25 +01:00
John Cupitt 28999aa5b6 add vips_profile_load()
and use it in icc_transform
2019-01-10 22:48:21 +00:00
John Cupitt a93deb8201 Merge branch 'master' into add-icc-fallbacks 2019-01-02 15:32:32 +00:00
John Cupitt 7d1ec90894 make fallback profiles available to icc_import etc.
almost there, not working yet
2019-01-02 10:59:16 +00:00
Dimitri Bouron 21bceb5c38 Fix compilation error when lcms has not been found
If HAVE_LCMS2 is not defined, VipsImage is not declared in both
CMYK2XYZ and XYZ2CMYK source files.
2018-12-31 17:03:47 +01:00
John Cupitt 074906f670 fix test suite
- CMYK2XYZ and back now support extra alpha bands
- test suite tests CMYK conversions
- a small bug fixed too
2018-12-28 20:53:25 +00:00
John Cupitt c5d0ca8300 add cmyk2xyz and back
seems to work, still to do:

- tests
- try:

```
$ vipsthumbnail NordicsLIQUOR-SFBag_300_cmyk.JPG

(vipsthumbnail:7868): VIPS-WARNING **: 16:53:17.166: profile incompatible with image
```

see https://github.com/libvips/libvips/issues/1186
2018-12-27 17:35:35 +00:00