A Python library to easily convert Dreamcast/Naomi .PVR and .PVP files to images + palettes
Project description
pvr2image
A Python module to easily convert Dreamcast/Naomi .PVR and .PVP files to images + palettes Please note it requires Pillow (PIL) module installed
Installation
pip3 install pvr2image
Example
files_lst = [r"c:\temp\ALWAY.pvr",
r"c:\temp\test\565_tw.pvr"]
out_dir = 'Extracted'
flip = ''
fmt = 'png'
pvr2image.decode(files_lst,fmt,out_dir,flip)```
# Image flip options:
'' = None
'v' = vertical flip
'h' = horizontal flip
'vh' = vertical and horizontal flip
## Credits
- Egregiousguy for YUV420 to YUV420p conversion
- Kion for VQ handling and logic
- tvspelsfreak for SR conversion info on Bump to normal map
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pvr2img-1.1.0.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pvr2img-1.1.0.tar.gz.
File metadata
- Download URL: pvr2img-1.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.1rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
974334e17152f1205e2709de919876a39f2b235a3859a45f4200427b66d2358c
|
|
| MD5 |
5576ee6aff65c0247a538629528b70e5
|
|
| BLAKE2b-256 |
0c02bb247c660d64589dc98dbc5e46897d6df04321c0fb758978148e3eb5eb14
|
File details
Details for the file pvr2img-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pvr2img-1.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.1rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df77268cc9c8dc5729d1276b6a1bdcdca8abc885ae8d88bcaaa3fcb46481f3b4
|
|
| MD5 |
262bdc3b301cacc2e00fc8b4b47a9acc
|
|
| BLAKE2b-256 |
1da0be7d7a006dde67da2c156d8ab68de751ef371e4ba16c2256809db085694d
|