Updated Hatenatools
This commit is contained in:
1 parent
23e198ccf0
commit
ee7e270693
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -130,7 +130,7 @@ class NTFT:
|
|||||||
for y in xrange(psize[1]):
|
for y in xrange(psize[1]):
|
||||||
for x in xrange(psize[0]):
|
for x in xrange(psize[0]):
|
||||||
#read
|
#read
|
||||||
c = self.Image[clamp(x, 0, w)][clamp(y, 0, h)]
|
c = self.Image[clamp(x, 0, w-1)][clamp(y, 0, h-1)]
|
||||||
r = c >> 24
|
r = c >> 24
|
||||||
g = (c >> 16) & 0xFF
|
g = (c >> 16) & 0xFF
|
||||||
b = (c >> 8 ) & 0xFF
|
b = (c >> 8 ) & 0xFF
|
||||||
@@ -223,7 +223,7 @@ def ReadImage(path):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print " == NTFT.py =="
|
print " == NTFT.py =="
|
||||||
print " == by pbsds =="
|
print " == by pbsds =="
|
||||||
print " == v0.70 =="
|
print " == v0.71 =="
|
||||||
print
|
print
|
||||||
|
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
--VERSIONS--
|
--VERSIONS--
|
||||||
PPM.py: v1.05
|
PPM.py: v1.05
|
||||||
UGO.py: v0.92
|
UGO.py: v0.92
|
||||||
NTFT.py: v0.70
|
NTFT.py: v0.71
|
||||||
|
|
||||||
--DESCRIPTION--
|
--DESCRIPTION--
|
||||||
PPM.py can read the metadata, thumbnail, frames and the sound of Flipnote Studio files: .ppm
|
PPM.py can read the metadata, thumbnail, frames and the sound of Flipnote Studio files: .ppm
|
||||||
|
|||||||
Reference in new issue
Block a user
