Support for various texture compressions

Open
#4,417 11 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, cpp, python

Research direction

Start by reviewing the linked tex2img C-extension and the listed basis_universal and Native_SDK licenses. Define which texture compression formats Pillow should support and verify that their decompression libraries can be included in a Pillow-compliant way; done means the agreed formats work in Pillow with acceptable licensing.

Written by the indexing model from the issue text.

Description

Enhancement

Hello,
during the last months, I worked a bit with various texture compression formats and ended up writing a simple C-extension as a wrapper around existing C++ libraries.

https://github.com/K0lb3/tex2img

I would like to add the decompression functionality to Pillow,
but I'm not sure how to go about it and I also don't know how to handle the licenses in a Pillow conform way.

formats:

  • atc
  • astc
  • etc
  • pvrtc

used libraries:
Apache - BinomialLLC/basis_universal
Apache - powervr-graphics/Native_SDK

Dominant language
Python
Stars
14k
Forks
2.6k
Avg merge
1d 1h
Merged PRs (30d)
205

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-pillow/Pillow

All issues in python-pillow/Pillow

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.