()
| 748 | } |
| 749 | |
| 750 | func (img *Image) RestoreColourProfile() { |
| 751 | var tmp *C.VipsImage |
| 752 | |
| 753 | if C.vips_icc_restore(img.VipsImage, &tmp) == 0 { |
| 754 | img.swapAndUnref(tmp) |
| 755 | } else { |
| 756 | slog.Warn("Can't restore ICC profile", "error", Error()) |
| 757 | } |
| 758 | } |
| 759 | |
| 760 | func (img *Image) ImportColourProfile() error { |
| 761 | var tmp *C.VipsImage |
no test coverage detected