X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=maketex.py;h=92a284215796b1021ce8ca55f8098a668cc658e6;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=017aa121368057e42a7119ef6973f9a2aadc6ddc;hpb=652cb91c2b6008c4407c16054085f20bf5888c4d;p=libs%2Fgl.git diff --git a/maketex.py b/maketex.py index 017aa121..92a28421 100755 --- a/maketex.py +++ b/maketex.py @@ -1,7 +1,5 @@ #!/usr/bin/python -# $Id$ - def escape(str): result="" for c in str: @@ -26,7 +24,7 @@ def make_tex(fn): elif fmt=="L": fmt="LUMINANCE" - result="storage %s %d %d 0;\n"%(fmt, img.size[0], img.size[1]) + result="storage %s %d %d;\n"%(fmt, img.size[0], img.size[1]) result+="min_filter LINEAR;\n" result+="raw_data \"" data=list(img.getdata())