no to fakt nevim co tim mysli. kraasnej popis RLE komprese je tady: http://int21h.ic.cz/?id=2
zrejme to 1 bude znamenat ze prostor dat je 8bit (16ti barevne obrazky kde ve skutecnosti 1 byte obsahuje barvy dve) L bude 16bit a P bude 32bit. mozna 2009/6/11 zu1234 <[email protected]> > 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 > [email protected] > http://www.py.cz/mailman/listinfo/python >
_______________________________________________ Python mailing list [email protected] http://www.py.cz/mailman/listinfo/python
