public void Test() { ImageTest.Run("raw-samples/RAW", "RAW_LEICA_DIGILUX2_SRGB.RAW", false, new RawLeicaDigilux2TestInvariantValidator() ); }
public void Test() { ImageTest.Run("sample_bgo625367.jpg", false, new BGO625367TestInvariantValidator() ); }
public void Test() { ImageTest.Run("sample_recursive_ifd.jpg", false, new RecursiveIFDTestInvariantValidator() ); }
public void Test() { ImageTest.Run("sample_canon_bibble5.jpg", new JpegCanonBibble5TestInvariantValidator(), NoModificationValidator.Instance ); }
public void Test() { // This file is originally created with GIMP and the metadata was modified // by exiftool. // The test is to test some properties of ImageTag ImageTest.Run("sample_gimp_exiftool.jpg", true, new JpegPropertyTestInvariantValidator(), NoModificationValidator.Instance, new PropertyModificationValidator <string> ("Creator", "Isaac Newton", "Albert Einstein"), new PropertyModificationValidator <string> ("Copyright", "Free to Copy", "Place something here"), new PropertyModificationValidator <string> ("Comment", "This is an image Comment", "And here comes another image comment"), new PropertyModificationValidator <string> ("Title", "Sunrise", "Eclipse"), new PropertyModificationValidator <string> ("Software", "Exiftool", "Unit tests"), new PropertyModificationValidator <string[]> ("Keywords", new string [] { "keyword 1", "keyword 2" }, new string [] { "keyword a", "keyword b", "keyword 2" }), new PropertyModificationValidator <uint?> ("Rating", 5, 2), new TagPropertyModificationValidator <string> ("Creator", null, "Albert Einstein", TagTypes.TiffIFD, true), new TagPropertyModificationValidator <string> ("Copyright", "Free to Copy", "Place something here", TagTypes.TiffIFD, true), new TagPropertyModificationValidator <string> ("Comment", null, "And here comes another image comment", TagTypes.TiffIFD, true), new TagPropertyModificationValidator <string> ("Software", "Exiftool", "Unit tests", TagTypes.TiffIFD, true), new TagPropertyModificationValidator <string> ("Creator", "Isaac Newton", "Albert Einstein", TagTypes.XMP, true), new TagPropertyModificationValidator <string> ("Copyright", null, "Place something here", TagTypes.XMP, true), new TagPropertyModificationValidator <string> ("Comment", "This is an image Comment", "And here comes another image comment", TagTypes.XMP, true), new TagPropertyModificationValidator <string> ("Title", "Sunrise", "Eclipse", TagTypes.XMP, true), new TagPropertyModificationValidator <string> ("Software", null, "Unit tests", TagTypes.XMP, true), new TagPropertyModificationValidator <string[]> ("Keywords", new string [] { "keyword 1", "keyword 2" }, new string [] { "keyword a", "keyword b", "keyword 2" }, TagTypes.XMP, true), new TagPropertyModificationValidator <uint?> ("Rating", 5, 2, TagTypes.XMP, true), new TagPropertyModificationValidator <string> ("Comment", "This is an image Comment", "And here comes another image comment", TagTypes.JpegComment, true) ); }
public void Test() { ImageTest.Run("sample_bgo493530.jpg", false, new BGO493530TestInvariantValidator() ); }
public void Test() { // This file is originally created with GIMP and was modified with png crush: ImageTest.Run("sample_gimp_pngcrush.png", true, new PngGimpPngcrushTestInvariantValidator(), NoModificationValidator.Instance, new PropertyModificationValidator <string> ("Comment", "Modified with pngcrush", "$% ¬ Test Comment äö "), new PropertyModificationValidator <string> ("Creator", "Isaac Newton", "Albert Einstein"), #if HAVE_SHARPZIPLIB new PropertyModificationValidator <string> ("Title", "Sunrise", "Eclipse"), #endif new TagPropertyModificationValidator <string> ("Comment", "Modified with pngcrush", "$% ¬ Test Comment äö ", TagTypes.Png, true), new TagPropertyModificationValidator <string> ("Creator", "Isaac Newton", "Albert Einstein", TagTypes.Png, true), #if HAVE_SHARPZIPLIB new TagPropertyModificationValidator <string> ("Title", "Sunrise", "Eclipse", TagTypes.Png, true), #endif new TagPropertyModificationValidator <string> ("Comment", null, "$% ¬ Test Comment äö ", TagTypes.XMP, false), new TagPropertyModificationValidator <string> ("Creator", null, "Albert Einstein", TagTypes.XMP, false), new TagPropertyModificationValidator <string> ("Title", null, "Eclipse", TagTypes.XMP, false), new TagKeywordsModificationValidator(TagTypes.XMP, false), new RemoveMetadataValidator(TagTypes.Png) ); }
public void Test() { ImageTest.Run("sample_badifdentrytype.jpg", false, new InvalidIFDEntryTypeTestInvariantValidator() ); }
public void Test() { ImageTest.Run("sample_null_orientation.jpg", new NullOrientationInvariantValidator(), NoModificationValidator.Instance ); }
public void Test() { ImageTest.Run("sample_olympus_corrupt_mn.jpg", false, new JpegOlympusCorruptMNTestInvariantValidator() ); }
public void Test() { ImageTest.Run("raw-samples/DNG", "RAW_LEICA_M8.DNG", false, new DngLeicaM8InvariantValidator() ); }
public void Test() { ImageTest.Run("sample_invalidifdoffset.jpg", false, new InvalidIFDOffsetTestInvariantValidator() ); }
public void Test() { ImageTest.Run("sample_bgo631333.jpg", new BGO631333TestInvariantValidator(), NoModificationValidator.Instance ); }
public void Test() { ImageTest.Run("sample_gimp_lzw.tiff", ImageTest.CompareLargeImages, new TiffGimp1TestInvariantValidator(), NoModificationValidator.Instance ); }
public void Test() { ImageTest.Run("sample_no_metadata.jpg", new JpegNoMetadataTestInvariantValidator(), NoModificationValidator.Instance, new NoModificationValidator(), new TagCommentModificationValidator(TagTypes.TiffIFD, false), new TagCommentModificationValidator(TagTypes.XMP, false), new TagKeywordsModificationValidator(TagTypes.XMP, false) ); }
public void Test() { ImageTest.Run("sample_nikon1_bibble5.jpg", new JpegNikon1Bibble5TestInvariantValidator(), NoModificationValidator.Instance, new CommentModificationValidator(string.Empty), new TagCommentModificationValidator(null, TagTypes.TiffIFD, true), new TagCommentModificationValidator(null, TagTypes.XMP, true), new TagKeywordsModificationValidator(new string[] { }, TagTypes.XMP, true) ); }
public void Test() { ImageTest.Run("sample_xap.jpg", new XapTestInvariantValidator(), new NoModificationValidator(), new CommentModificationValidator("Communications"), new TagCommentModificationValidator("Communications", TagTypes.TiffIFD, true), new TagCommentModificationValidator("Communications", TagTypes.XMP, true), new KeywordsModificationValidator(new string [] { "Communications" }), new TagKeywordsModificationValidator(new string [] { "Communications" }, TagTypes.XMP, true) ); }
public void Test() { // This file is originally created with GIMP. ImageTest.Run("sample_gimp.png", true, new PngGimpTestInvariantValidator(), NoModificationValidator.Instance, new CommentModificationValidator("Created with GIMP"), new TagCommentModificationValidator("Created with GIMP", TagTypes.Png, true), new TagKeywordsModificationValidator(TagTypes.XMP, false), new RemoveMetadataValidator(TagTypes.Png) ); }
public void Test() { // This file is originally created with GIMP and the metadata was modified // by exiftool. ImageTest.Run("sample_exiftool.gif", true, new GifExiftoolTestInvariantValidator(), NoModificationValidator.Instance, new TagKeywordsModificationValidator(new[] { "Keyword 1", "Keyword 2" }, TagTypes.XMP, true), new CommentModificationValidator("Created with GIMP"), new TagCommentModificationValidator("Created with GIMP", TagTypes.GifComment, true), new RemoveMetadataValidator(TagTypes.GifComment | TagTypes.XMP), new RemoveMetadataValidator(TagTypes.GifComment | TagTypes.XMP, TagTypes.GifComment) ); }
public void Test() { // This file is originally created with GIMP and the metadata was modified // by exiftool. Furthermore, the file is modified in the following way: // (1) the blocks which contain the metadata are moved to the end of the file. // This is allowed and should be handled correctly by taglib. // (2) XMP Block is removed. ImageTest.Run("sample_exiftool_tangled3.gif", true, new GifExiftoolTangled3TestInvariantValidator(), NoModificationValidator.Instance, new TagKeywordsModificationValidator(new string[] { }, TagTypes.XMP, false), new CommentModificationValidator("Created with GIMP"), new TagCommentModificationValidator("Created with GIMP", TagTypes.GifComment, true), new RemoveMetadataValidator(TagTypes.GifComment) ); }
public void Test() { // This file is originally created with GIMP and the metadata was modified // by exiftool. A very long comment is added by exiftool because such comments // are stored in multiple sub-blocks. This should be handled by taglib. ImageTest.Run("sample_exiftool_long_comment.gif", true, new GifExiftoolLongCommentTestInvariantValidator(), NoModificationValidator.Instance, new TagKeywordsModificationValidator(new string[] { }, TagTypes.XMP, true), new CommentModificationValidator(long_comment_orig), new CommentModificationValidator(long_comment_orig, long_comment_test), new TagCommentModificationValidator(long_comment_orig, TagTypes.GifComment, true), new TagCommentModificationValidator(long_comment_orig, long_comment_test, TagTypes.GifComment, true), new RemoveMetadataValidator(TagTypes.GifComment | TagTypes.XMP), new RemoveMetadataValidator(TagTypes.GifComment | TagTypes.XMP, TagTypes.GifComment), new RemoveMetadataValidator(TagTypes.GifComment | TagTypes.XMP, TagTypes.XMP) ); }
public void Test() { // This file is originally created with GIMP and the metadata was modified // by exiftool. Furthermore, the file is modified in the following way: // (1) the version 89a is substituted by 87a, this leads to an invalid 87a // file, but we change the version if we write metadata. // (2) the blocks which contain the metadata are moved to the end of the file. // This is allowed and should be handled correctly by taglib. // (3) Gif Comment block is removed ImageTest.Run("sample_exiftool_tangled2.gif", true, new GifExiftoolTangled2TestInvariantValidator(), NoModificationValidator.Instance, new TagKeywordsModificationValidator(new[] { "Keyword 1", "Keyword 2" }, TagTypes.XMP, true), new CommentModificationValidator(), new TagCommentModificationValidator(null, TagTypes.GifComment, false), new RemoveMetadataValidator(TagTypes.XMP) ); }
public void Test() { ImageTest.Run(TestPath.GetRawSubDirectory("DNG"), "RAW_LEICA_M8.DNG", false, new DngLeicaM8InvariantValidator()); }
public void Test() { ImageTest.Run(TestPath.GetRawSubDirectory("RAW"), "RAW_LEICA_DIGILUX2_SRGB.RAW", false, new RawLeicaDigilux2TestInvariantValidator()); }