Dobry den, rekl bych, ze podle dokumentace (to co jste sem vlozil) otevrit pomoci PIL nelze - pokud se pokusite otevrit BMP s RLE kompresi, nepovede se to a v info nastavi parametr compression na "bmp_rle".
S pozdravem Petr Hlavka. 2009/6/11 zu1234 <zu1...@seznam.cz>: > Nechápu následující: > PIL reads and writes Windows and OS/2 BMP files containing "1", "L", "P", or > "RGB" data. > 16-colour images are read as "P" images. Run-length encoding is not > supported. > The open method sets the following info properties: > compression. Set to "bmp_rle" if the file is run-length encoded. > > Lze (a jak?), nebo nelze otevřít BMP soubor s RLE kompresí? > > Když jsem použil: > im_obr = Image.open(FI_OBR_IN, compression="bmp_rle").convert('RGB') > > Tak jsem dostal jsem chybu: > TypeError: open() got an unexpected keyword argument 'compression' > > Nebo to lze dekomprimovat předem a jinak? > > ZU > _______________________________________________ > Python mailing list > Python@py.cz > http://www.py.cz/mailman/listinfo/python > _______________________________________________ Python mailing list Python@py.cz http://www.py.cz/mailman/listinfo/python