7 references to SetOutputChannelColorProfile
System.Drawing.Common.Tests (7)
System\Drawing\Imaging\ImageAttributesTests.cs (7)
1060imageAttr.SetOutputChannelColorProfile(Helpers.GetTestColorProfilePath("RSWOP.icm")); 1073imageAttr.SetOutputChannelColorProfile(Helpers.GetTestColorProfilePath("RSWOP.icm"))); 1082Assert.Throws<ArgumentNullException>(() => imageAttr.SetOutputChannelColorProfile(null)); 1090Assert.Throws<ArgumentException>(() => imageAttr.SetOutputChannelColorProfile(string.Empty)); 1098Assert.Throws<OutOfMemoryException>(() => imageAttr.SetOutputChannelColorProfile("invalidPath")); 1107Assert.Throws<PathTooLongException>(() => imageAttr.SetOutputChannelColorProfile(fileNameTooLong)); 1126imageAttr.SetOutputChannelColorProfile(Helpers.GetTestColorProfilePath("RSWOP.icm"));