mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 17:33:08 +03:00
commit
a223122d28
|
@ -179,6 +179,9 @@ def _save(im, fp, filename):
|
||||||
ImageFile._save(
|
ImageFile._save(
|
||||||
im, fp, [("raw", (0, 0) + im.size, 0, (rawmode, 0, orientation))])
|
im, fp, [("raw", (0, 0) + im.size, 0, (rawmode, 0, orientation))])
|
||||||
|
|
||||||
|
# write targa version 2 footer
|
||||||
|
fp.write(b"\000" * 8 + b"TRUEVISION-XFILE." + b"\000")
|
||||||
|
|
||||||
#
|
#
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# Registry
|
# Registry
|
||||||
|
|
Loading…
Reference in New Issue
Block a user