Skip to content

Commit

Permalink
Merge pull request #38 from Trimatix/dev
Browse files Browse the repository at this point in the history
v0.8.2
  • Loading branch information
Trimatix authored Mar 23, 2024
2 parents 8161377 + fc54bf6 commit 764a524
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Other work is needed (e.g documentation, QOL improvements...), but below is an o
|Raw image content |||
|Basic metadata |||
|Texture regions |||
|Mipmapping | ||
|Mipmapping | ||
|Compression quality (l/m/h)|||
|Symbol maps |||

Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ packages = find:
python_requires = >=3.6
install_requires =
pillow
etcpak
tex2img

[options.packages.find]
where=src
Expand Down
2 changes: 1 addition & 1 deletion src/AEPi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
from . import codecs
from . import lib

__version__ = "0.8.1"
__version__ = "0.8.2"
__all__ = ["AEI", "Texture", "CompressionFormat", "CompressionQuality", "codecs", "lib", "codec"]
4 changes: 2 additions & 2 deletions src/AEPi/image/AEI.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ def read(cls, fp: Union[str, PathLike[Any], io.BytesIO]) -> "AEI":

formatId = readUInt8(file, ENDIANNESS)
format, mipmapped = CompressionFormat.fromBinary(formatId)
if mipmapped:
raise UnsupportedAeiFeatureException("Mipmapped textures")
# if mipmapped:
# raise UnsupportedAeiFeatureException("Mipmapped textures")

imageCodec = codec.decompressorFor(format)

Expand Down

1 comment on commit 764a524

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/AEPi
   codec.py37392%22, 40, 119
   constants.py72790%36–42, 62, 68
   exceptions.py401172%18–19, 28–29, 39–40, 47, 54, 61, 68–69
src/AEPi/codecs
   EtcPakCodec.py291452%11–12, 22–30, 35–41
   RawCodec.py13285%15, 20
   Tex2ImgCodec.py19384%10–11, 27
   __init__.py8275%11–12
src/AEPi/image
   AEI.py2412789%121, 181, 185, 198, 225, 288, 294–297, 302, 326, 333, 341–342, 347–351, 382, 396–397, 436–437, 444–445, 488–489
   texture.py19289%29, 49
src/AEPi/lib
   binaryio.py24196%64
   imageOps.py9278%13–14
src/tests/image
   test_AEI.py199199%29
TOTAL8327591% 

Tests Skipped Failures Errors Time
43 0 💤 0 ❌ 0 🔥 0.344s ⏱️

Please sign in to comment.