[python] PIL: open BMP s RLE kompresí

Tomáš Drenčák tomas na drencak.com
Čtvrtek Červen 11 15:21:30 CEST 2009


nie je to obj.compression=='bmp_rle'?

2009/6/11 zu1234 <zu1234 na seznam.cz>:
> Asi máte pravdu.
> <lama>
> Jak se dostanu k tomu 'info' ?
> To nějaká obecná záležitost?
> </lama>
> ZU
>
> Petr Hlávka napsal(a):
>>
>> 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 <zu1234 na 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.
>
> _______________________________________________
> Python mailing list
> Python na py.cz
> http://www.py.cz/mailman/listinfo/python
>


Další informace o konferenci Python