()
| 738 | } |
| 739 | |
| 740 | func (img *Image) BackupColourProfile() { |
| 741 | var tmp *C.VipsImage |
| 742 | |
| 743 | if C.vips_icc_backup(img.VipsImage, &tmp) == 0 { |
| 744 | img.swapAndUnref(tmp) |
| 745 | } else { |
| 746 | slog.Warn("Can't backup ICC profile", "error", Error()) |
| 747 | } |
| 748 | } |
| 749 | |
| 750 | func (img *Image) RestoreColourProfile() { |
| 751 | var tmp *C.VipsImage |
no test coverage detected