Skip to content

Commit

Permalink
heic/heif, avif/av1 file types added, 3gpp fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
eakondratiev committed Oct 23, 2024
1 parent 262acc0 commit 86d9512
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 18 deletions.
4 changes: 4 additions & 0 deletions assets/filetype.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* 2022-08-31 link added to CRD type description
* 2023-10-02 JXR description added.
* 2024-08-20 JXL description added.
* 2024-10-23 HEIC description added.
*/

/**
Expand Down Expand Up @@ -94,6 +95,9 @@ function fileTypePage(options) {
'MKV': {description: 'mkv, mka, mks, mk3d, webm - Matroska media container, including WebM'},
'ASF-WMA-WMV': {description: 'asf, wma, wmv - Advanced Systems Format'},
'mp4': {description: 'mp4 - ISO Base Media file (MPEG-4)'},
'av1': {description: 'AV1 - video file encoded using the AV1 codec with efficient compression'},
'avif': {description: 'AVIF - image file that uses AV1 video codec for image compression'},
'heic': {description: 'HEIC/HEIF - High Efficiency Image Container (or Format) for images, image sequences, other media streams.'},
'ftyp3g': {description: '3rd Generation Partnership Project 3GPP and 3GPP2 multimedia files'},
'MLV': {description: 'Canon Magic Lantern Video file'},
'MPEG-Stream': {description: 'MPEG Program Stream'},
Expand Down
25 changes: 13 additions & 12 deletions assets/filetype.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified assets/filetype.wasm
Binary file not shown.
8 changes: 5 additions & 3 deletions file.htm
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,12 @@ <h3>
<li>Ogg, an open source media container format</li>
<li>MIDI sound file</li>
<li>avi, Audio Video Interleave video format</li>
<li>AV1 - video file encoded using the AV1 codec with efficient compression</li>
<li>AVIF - image file that uses AV1 video codec for image compression</li>
<li>mkv, mka, mks, mk3d, webm - Matroska media container, including WebM</li>
<li>asf, wma, wmv - Advanced Systems Format</li>
<li>mp4 - ISO Base Media file (MPEG-4)</li>
<li>HEIC/HEIF - High Efficiency Image Container (or Format) for images, image sequences, other media streams.</li>
<li>3rd Generation Partnership Project 3GPP and 3GPP2 multimedia files</li>
<li>Canon Magic Lantern Video file</li>
<li>MPEG Program Stream</li>
Expand Down Expand Up @@ -256,7 +259,7 @@ <h3>
</div>

<p style="font-size:0.8rem;">
Source: <a href="https://en.wikipedia.org/wiki/List_of_file_signatures" target="_blank" rel="noreferrer">List of file signatures, Wikipedia.org</a>
Source: <a href="https://en.wikipedia.org/wiki/List_of_file_signatures" target="_blank" rel="noreferrer">List of file signatures, Wikipedia.org</a>, etc.
</p>
<div class="page-tags">
<b>#Files</b>, <b>#File signature</b>, <b>#WASM</b>, <b>#Online</b>
Expand All @@ -281,10 +284,9 @@ <h3>
</div>
imperfect <b>tools</b>
</div>
<script src="/assets/filetype.min.js?20240820"></script>
<script src="/assets/filetype.min.js?20241023"></script>
<script>
'use strict';

// check for compatibility
if (document.getElementsByClassName === undefined ||
window.fetch === undefined ||
Expand Down
2 changes: 1 addition & 1 deletion index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h3><a href="file.htm">File Type by Content</a></h3>
<p>Shows the file type description along with its size and MIME type.
Uploaded files are processed by your computer/device.
The file type description is based on its content, not extension.
<br /><b>New</b>: JPEG XL detection added.
<br /><b>New</b>: JPEG XL, HEIC/HEIF and AVIF files detection added.
</p>

<h3><a href="iprange.htm">IPv4 Ranges</a></h3>
Expand Down
4 changes: 2 additions & 2 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
</url>
<url>
<loc>https://eakondratiev.github.io/</loc>
<lastmod>2024-10-17</lastmod>
<lastmod>2024-10-23</lastmod>
</url>
<url>
<loc>https://eakondratiev.github.io/mouse-events.htm</loc>
<lastmod>2024-10-09</lastmod>
</url>
<url>
<loc>https://eakondratiev.github.io/file.htm</loc>
<lastmod>2024-10-09</lastmod>
<lastmod>2024-10-23</lastmod>
</url>
<url>
<loc>https://eakondratiev.github.io/iprange.htm</loc>
Expand Down

0 comments on commit 86d9512

Please sign in to comment.