updated Hatenatools
This commit is contained in:
1 parent
e5ac8edd21
commit
c4c7439ae8
2 files changed
+6
-3
No files matched your search
+5
-2
@@ -223,9 +223,12 @@ def ReadImage(path):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print " == NTFT.py =="
|
print " == NTFT.py =="
|
||||||
print " == by pbsds =="
|
print " == by pbsds =="
|
||||||
print " == v0.71 =="
|
print " == v0.72 =="
|
||||||
print
|
print
|
||||||
|
|
||||||
|
if not hasPIL:
|
||||||
|
print "PIL not found! Exiting..."
|
||||||
|
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
print "Usage:"
|
print "Usage:"
|
||||||
print " NTFT.py <input> [<output> [<width> <height>]]"
|
print " NTFT.py <input> [<output> [<width> <height>]]"
|
||||||
@@ -263,7 +266,7 @@ if __name__ == "__main__":
|
|||||||
if Encode:
|
if Encode:
|
||||||
i = NTFT()
|
i = NTFT()
|
||||||
i.Loaded = True
|
i.Loaded = True
|
||||||
i.Image = ReadImage("NTFTtests/geh.png")
|
i.Image = ReadImage(input)
|
||||||
i.WriteFile(output)
|
i.WriteFile(output)
|
||||||
else:
|
else:
|
||||||
WriteImage(NTFT().ReadFile(input, (width, height)).Image, output)
|
WriteImage(NTFT().ReadFile(input, (width, height)).Image, output)
|
||||||
|
|||||||
@@ -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.71
|
NTFT.py: v0.72
|
||||||
|
|
||||||
--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
