[DiscordArchive] no, can you make all blp related as a subfolder of blp?
[DiscordArchive] no, can you make all blp related as a subfolder of blp?
Archived author: Deleted User • Posted: 2018-11-19T20:12:55.356000+00:00
Original source
```python
class BlpFromPng:
def __init__(self, pn_data, png_size)
def create_blp_paletted_in_memory(self, mip_maps, alpha_depth, min_quality, max_quality)
def create_blp_uncompressed_in_memory(self, mip_maps)
def create_blp_dxt_in_memory(self, mip_maps, dxt_format)
```
Archived author: Deleted User • Posted: 2018-11-19T20:13:00.284000+00:00
Original source
theres a typo in the code
Archived author: Deleted User • Posted: 2018-11-19T20:13:05.366000+00:00
Original source
the last function i named like the first
Archived author: Deleted User • Posted: 2018-11-19T20:13:06.769000+00:00
Original source
copy paste
Archived author: Deleted User • Posted: 2018-11-19T20:13:21.446000+00:00
Original source
alpha_depth can be 1, 4 or 8
Archived author: Deleted User • Posted: 2018-11-19T20:13:26.456000+00:00
Original source
how many bits of alpha
Archived author: Deleted User • Posted: 2018-11-19T20:13:36.473000+00:00
Original source
min_quality and max_quality are for quantization when creating the palette
Archived author: Deleted User • Posted: 2018-11-19T20:13:45.285000+00:00
Original source
lower quality means lesser colors, but also lesser quality
Archived author: Deleted User • Posted: 2018-11-19T20:14:04.080000+00:00
Original source
it will start with max_quality, if it fails to scale it down to 256 colors with that quality level it will try until it reaches min_quality
Archived author: Deleted User • Posted: 2018-11-19T20:14:17.290000+00:00
Original source
if it cannot limit it to 256 colors with min_quality it will fail