mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-11 16:43:10 +03:00
commit
bbfc7b0464
|
@ -13,7 +13,7 @@ packed custom format called FTEX. This file format uses file extensions FTC and
|
||||||
* FTC files are compressed textures (using standard texture compression).
|
* FTC files are compressed textures (using standard texture compression).
|
||||||
* FTU files are not compressed.
|
* FTU files are not compressed.
|
||||||
Texture File Format
|
Texture File Format
|
||||||
The FTC and FTU texture files both use the same format, called. This
|
The FTC and FTU texture files both use the same format. This
|
||||||
has the following structure:
|
has the following structure:
|
||||||
{header}
|
{header}
|
||||||
{format_directory}
|
{format_directory}
|
||||||
|
|
|
@ -58,7 +58,7 @@ iforms = [1, 3, -11, -12, -21, -22]
|
||||||
|
|
||||||
# There is no magic number to identify Spider files, so just check a
|
# There is no magic number to identify Spider files, so just check a
|
||||||
# series of header locations to see if they have reasonable values.
|
# series of header locations to see if they have reasonable values.
|
||||||
# Returns no.of bytes in the header, if it is a valid Spider header,
|
# Returns no. of bytes in the header, if it is a valid Spider header,
|
||||||
# otherwise returns 0
|
# otherwise returns 0
|
||||||
|
|
||||||
def isSpiderHeader(t):
|
def isSpiderHeader(t):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user