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
Hello! i try to make .DDS to .PNG converter but when i call code it raises PIL.UnidentifiedImageError: cannot identify image file
# ImportsfromPILimportImageimportos# Define namesfile='C:\DDS\Portrait_Britain_Alan_Brooke.dds'l=len(os.listdir("SOV"))+1name=f'SOV/{l}.png'# Load imagewithImage.open(file) asim: # in this line errorim.save(name)
Just as an explanation, the image contains uncompressed RGB data with a bitcount of 16 - it looks like it is compressing the three channels into the space normally allocated for two. Pillow doesn't yet support this configuration.
Is the image one that can be added to our test suite, and distributed under Pillow's license?
Hello! i try to make .DDS to .PNG converter but when i call code it raises PIL.UnidentifiedImageError: cannot identify image file
screenshot of console:
![error](https://private-user-images.githubusercontent.com/109862343/279980561-924e80c8-98f0-47f0-b334-2c5034f37d02.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5MDE5MzQsIm5iZiI6MTcyNDkwMTYzNCwicGF0aCI6Ii8xMDk4NjIzNDMvMjc5OTgwNTYxLTkyNGU4MGM4LTk4ZjAtNDdmMC1iMzM0LTJjNTAzNGYzN2QwMi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyOVQwMzIwMzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMTA0MDA1YzVlMDViMDlkZGIzNWJmYTg4NTcwNjNkNmI1ZDA2OWYxN2RmZTdlZDdmZDQ2ODFkNzg3NmUwNmJkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.85rCNBp40ruwiRL1flOuw1ebxyUXrDTZi3pwgRE7Ge0)
this file:
Portrait_Britain_Alan_Brooke.zip
The text was updated successfully, but these errors were encountered: