Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions UnityPy/export/Texture2DConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def rgb9e5float(image_data: bytes, width: int, height: int) -> Image.Image:
TF.RGB565: (pillow, ("RGB", "raw", "BGR;16")),
TF.BGR24: (pillow, ("RGB", "raw", "BGR")),
TF.R8: (pillow, ("RGB", "raw", "R")),
TF.R16: (pillow, ("RGB", "raw", "R;16")),
TF.R16: (pillow, ("RGB", "raw", "R;16L")),
TF.RG16: (rg, ("RGB", "raw", "RG")),
TF.DXT1: (pillow, ("RGBA", "bcn", 1)),
TF.DXT3: (pillow, ("RGBA", "bcn", 2)),
Expand Down Expand Up @@ -564,8 +564,8 @@ def rgb9e5float(image_data: bytes, width: int, height: int) -> Image.Image:
TF.ASTC_HDR_10x10: (astc, ((10, 10), True)),
TF.ASTC_HDR_12x12: (astc, ((12, 12), True)),
TF.RG32: (rg, ("RGB", "raw", "RG;16")),
TF.RGB48: (pillow, ("RGB", "raw", "RGB;16")),
TF.RGBA64: (pillow, ("RGBA", "raw", "RGBA;16")),
TF.RGB48: (pillow, ("RGB", "raw", "RGB;16L")),
TF.RGBA64: (pillow, ("RGBA", "raw", "RGBA;16L")),
TF.R8_SIGNED: (pillow, ("R", "raw", "R;8s")),
TF.RG16_SIGNED: (rg, ("RGB", "raw", "RG;8s")),
TF.RGB24_SIGNED: (pillow, ("RGB", "raw", "RGB;8s")),
Expand Down
Loading