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 a67f92b8d9 reformat in vips style 2019-01-16 20:18:09 +00: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 7073b8fb17 start adding fallbacks for savers
not finished though
2019-01-04 07:30:47 +00:00
John Cupitt b8a158b69b seems to work
added some more consts as well
2019-01-03 13:34:13 +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
John Cupitt 25aed749e3 start hacking in a CMYK->XYZ import
plus an embedded cmyk profile as a fallback
2018-12-21 18:05:40 +00:00