Example #1
0
        public ImageIdentification IdentifyImage(string[] paths)
        {
            ImageIdentifierType identifier = GetIdentifier(paths[0], out Match match);
            ImageIdentification image      = identifier?.Create() ?? new Unidentified();

            image.Initialize(paths, match);
            AddImage(image);
            identifier?.PostAdd?.Invoke(this, image);
            return(image);
        }
Example #2
0
        public ImageIdentification PreIdentifyImage(string path)
        {
            ImageIdentifierType identifier = GetIdentifier(path, out Match match);
            ImageIdentification image      = identifier?.Create() ?? new Unidentified();

            image.Initialize(path, match, false);
            //AddImage(image);
            //identifier?.PostAdd?.Invoke(this, image);
            return(image);
        }