public void Dispose()
 {
     if (MagickImage != null)
     {
         MagickImage.Dispose();
     }
     if (MagickImageCollection != null)
     {
         MagickImageCollection.Dispose();
     }
 }