Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvr2img-1.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for pvr2img-1.1.0.tar.gz
Algorithm Hash digest
SHA256 974334e17152f1205e2709de919876a39f2b235a3859a45f4200427b66d2358c
MD5 5576ee6aff65c0247a538629528b70e5
BLAKE2b-256 0c02bb247c660d64589dc98dbc5e46897d6df04321c0fb758978148e3eb5eb14

See more details on using hashes here.

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

Hashes for pvr2img-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df77268cc9c8dc5729d1276b6a1bdcdca8abc885ae8d88bcaaa3fcb46481f3b4
MD5 262bdc3b301cacc2e00fc8b4b47a9acc
BLAKE2b-256 1da0be7d7a006dde67da2c156d8ab68de751ef371e4ba16c2256809db085694d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page