Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Apua
Kirjaudu sisään
cacalabs
/
libcaca
peilaus alkaen
https://github.com/cacalabs/libcaca.git
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
7
Wiki
Toiminta
Selaa lähdekoodia
Fix deprecated call to pil method
tags/v0.99.beta20^2^2
alxf
7 vuotta sitten
vanhempi
feab0ef0aa
commit
cc8481c50c
1 muutettua tiedostoa
jossa
1 lisäystä
ja
1 poistoa
Yhdistetty näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
python/examples/img2txt.py
+ 1
- 1
python/examples/img2txt.py
Näytä tiedosto
@@ -224,7 +224,7 @@ def main():
dit.set_charset(charset)
dit.set_charset(charset)
#create dither
#create dither
dit.bitmap(cv, 0, 0, width, height,
img.tostring(
))
dit.bitmap(cv, 0, 0, width, height,
str(img.tobytes()
))
#print export to screen
#print export to screen
sys.stdout.write("%s" % cv.export_to_memory(exformat))
sys.stdout.write("%s" % cv.export_to_memory(exformat))
Kirjoita
Esikatselu
|
|
|
|
|
|
x
0
0
0:0
Ladataan…
Peruuta
Tallenna