38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="zh">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>EXIF 读取器测试</title>
|
||
|
<style>
|
||
|
.container {
|
||
|
max-width: 800px;
|
||
|
margin: 20px auto;
|
||
|
padding: 20px;
|
||
|
font-family: Arial, sans-serif;
|
||
|
}
|
||
|
#exifData {
|
||
|
margin-top: 20px;
|
||
|
border: 1px solid #ccc;
|
||
|
padding: 15px;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
.preview-image {
|
||
|
max-width: 100%;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container">
|
||
|
<h2>EXIF 读取器测试</h2>
|
||
|
<input type="file" id="imageInput" accept="image/jpeg,image/jpg,image/tiff,image/heic,image/heif,image/png,image/webp">
|
||
|
<div id="imagePreview"></div>
|
||
|
<div id="exifData"></div>
|
||
|
</div>
|
||
|
|
||
|
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js"></script>
|
||
|
<script src="https://cdn.jsdelivr.net/npm/text-encoding@0.7.0/lib/encoding.min.js"></script>
|
||
|
<script src="imageExifReader.js"></script>
|
||
|
<script src="test.js"></script>
|
||
|
</body>
|
||
|
</html>
|