Skip to content

Commit

Permalink
Merge 0272dc2 into 0cd84cf
Browse files Browse the repository at this point in the history
  • Loading branch information
jhultgre committed Jul 24, 2017
2 parents 0cd84cf + 0272dc2 commit a81c24b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PIL/TgaImagePlugin.py
Expand Up @@ -181,6 +181,9 @@ def _save(im, fp, filename, check=0):

ImageFile._save(
im, fp, [("raw", (0, 0) + im.size, 0, (rawmode, 0, orientation))])

# write targa version 2 footer
fp.write(b"\000" * 8 + "TRUEVISION-XFILE." + b"\000")

#
# --------------------------------------------------------------------
Expand Down

0 comments on commit a81c24b

Please sign in to comment.