Parent Directory | Revision Log | Patch
revision 1.4 by tjl, Tue Apr 22 20:15:22 2003 UTC | revision 1.5 by tjl, Tue Apr 22 20:15:54 2003 UTC | |
---|---|---|
# | Line 83 def makeMipzip(image, mipzip): | Line 83 def makeMipzip(image, mipzip): |
83 | print "WH: ",w, h | print "WH: ",w, h |
84 | tex.loadSubImage(0, im, 0, 0, 0, 0, chomp4(d.width), chomp4(d.height)) | tex.loadSubImage(0, im, 0, 0, 0, 0, chomp4(d.width), chomp4(d.height)) |
85 | ||
86 | print "Write ",of | print "Write ",mipzip |
87 | ||
88 | out = zip.ZipOutputStream(io.FileOutputStream(of)) | out = zip.ZipOutputStream(io.FileOutputStream(mipzip)) |
89 | ||
90 | entry = zip.ZipEntry("texformat") | entry = zip.ZipEntry("texformat") |
91 | entry.setComment(format) | entry.setComment(format) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |