SkICC.h 516 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright 2016 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef SkICC_DEFINED
  8. #define SkICC_DEFINED
  9. #include "SkData.h"
  10. #include "SkMatrix44.h"
  11. #include "SkRefCnt.h"
  12. struct SkColorSpaceTransferFn;
  13. SK_API sk_sp<SkData> SkWriteICCProfile(const SkColorSpaceTransferFn&, const float toXYZD50[9]);
  14. namespace SkICC {
  15. SK_API sk_sp<SkData> WriteToICC(const SkColorSpaceTransferFn&, const SkMatrix44&);
  16. }
  17. #endif//SkICC_DEFINED