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:

this file:
Portrait_Britain_Alan_Brooke.zip
The text was updated successfully, but these errors were encountered: