You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TGA
Pillow reads and writes TGA images containing L, LA, P, RGB, and RGBA data. Pillow can read and write both uncompressed and run-length encoded TGAs.
Now I find for other file formats we have the option to set compression="someValue" while calling Image.save(), to define file compression.
The only hint on how to use this, I found from this test case which calls for rle=rle and it actually works
In the Documentation we have no information about how to apply compression for TGA files. It just states that it is possible,but not how to do it.
https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html?highlight=tga#tga
Now I find for other file formats we have the option to set
compression="someValue"
while calling Image.save(), to define file compression.The only hint on how to use this, I found from this test case which calls for
rle=rle
and it actually worksPillow/Tests/test_file_tga.py
Line 26 in cb6c941
Is this the only way to do TGA compression? Is this not written in the documentation (I could not find it)?
The text was updated successfully, but these errors were encountered: