Filext - The File Extension Source

zhaozj2021-02-16  64

In the process of developing picture compression services, I encountered a problem: When the extension of the file on the picture server is not specified (for example, some JPEG files are named .gif, some file extensions are ".img", ". 10 "Wait), the picture compressed program requests these files from the picture server, then the content-type in response has problems, and the contents of Content-Type are inconsistent with the picture, even get the results of Text / Plain. Result Then, the appropriate codec cannot be selected to process the picture.

Last

Google found

Filext, the information of the tens of thousands of file extensions are stored in his database, such as the corresponding MIMETYPE, FILE CLASSIFICATION, etc. That is, the previous n byte of the file, with this n byte can accurately identify the type of file.

Filext - The File Extension Source

http://filext.com/index.php)

Filext Is A Detailed Database Of File Extensions and Programs That Use.

As of 2004-07-15, 16828 records have been recorded in Filext; you can even pass FileXT

Blog adds information about a new file you have in the Filext library.

Here is a FileExt query

GIF gets the result

Extension:. GIFProgram and / or Extension Function Company Graphic Interchange Format Specific Notes Graphic files in .GIF format can be manipulated by a large number of programs Some programs, eg, Fractint, us the GIF header to store program information so that when the file Is Opened The Program Sets Itself to the State It Was in When Type File Was Last Edited.mime Type File Classification Associated Links Image / GIF Image / X-Xbitmap Image / GI_

XnView Irfanview Gif Format Fractint The GIMP Identifying Characters Hex: 47 49 46 38 ASCII: GIF8 or for Gif87a ... HEX: 47 49 46 38 37 61 ASCII: GIF87A Or for GIF89A ... HEX: 47 49 46 38 39 61 ASCII : GIF89aProgram ID (None or Unknown) General Notes Various programs this extension use; too many to list individually Take clues from the location of the file as a possible pointer to exactly which program is producing the file The file's date and time can also.. Help if you know which programs you were running when file Was Written.this is record 5048 last modified on 2004-02-02.

Here is a file (BMP, JPEG, PNG, TIFF) identification information of several other common pictures found in FileXT. ---------------------------- Image / Gifimage / X-XbitmapImage / GI_HEX: 47 49 46 38ASCII: Gif8or for gif87a ... HEX : 47 49 46 38 37 61ASCII: GIF87AOR for Gif89a ................................. HEX: 47 49 46 38 39 61ASCII : GIF89A ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------- Image / jpegimage / jpgimage / jp_application / jpGApplication / X-jpgimage / pjpegimage / pipegimage / vnd.swiftview- JPEGIMAGE / X-Xbitmap ............................ HEX: FF D8 FFASCII: ----------- -----------------

---------------------------- Image / BMPIMAGE / X-BMPIMAGE / X-BitmapImage / X-XbitmapImage / X-Win-BitmapImage / X-windows-bmpimage / ms-bmpiMage / x-ms-bmpApplication / bmpApplication / x-bmpApplication / X-Win-BitmapApplication / Preview ..................... ....... HEX: 42 4Dascii: BM ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------- Image / PNGApplication / PNGApplication / X-PNG ............. ............. HEX: 89 50 4E 47 0D 0A 1A 0A 00 00 00 00 0d 49 48 44 52ASCII: .png ........ ihdr ----- -----------------------

转载请注明原文地址:https://www.9cbs.com/read-16016.html

New Post(0)