|
|
|
@ -6,7 +6,6 @@ using System.Text;
|
|
|
|
|
using Infrastructure.CloudSdk.minio;
|
|
|
|
|
using Infrastructure.CloudSdk.wayline;
|
|
|
|
|
using Infrastructure.Extensions;
|
|
|
|
|
using Infrastructure.Utilities;
|
|
|
|
|
using MetadataExtractor;
|
|
|
|
|
using MetadataExtractor.Formats.Exif;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
@ -405,13 +404,6 @@ public class TestAbc
|
|
|
|
|
int offset = 0, length = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//[Test]
|
|
|
|
|
public void ExtraceJpeg()
|
|
|
|
|
{
|
|
|
|
|
var picStr = "f:/DJI_20250801170827_0082_V.jpeg";
|
|
|
|
|
var extractor = new ExifThumbnailExtractor();
|
|
|
|
|
extractor.Extract(picStr, "f:/abc.jpeg");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool IsValidImageFormat(byte[] data)
|
|
|
|
|
{
|
|
|
|
|