summaryrefslogtreecommitdiffstats
path: root/image_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'image_writer.c')
-rw-r--r--image_writer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/image_writer.c b/image_writer.c
index f453748c08..5987d22f99 100644
--- a/image_writer.c
+++ b/image_writer.c
@@ -200,6 +200,11 @@ static const struct img_writer img_writers[] = {
.lavc_codec = CODEC_ID_PGMYUV,
.pixfmts = (int[]) { IMGFMT_YV12, 0 },
},
+ { "tga", write_lavc,
+ .lavc_codec = CODEC_ID_TARGA,
+ .pixfmts = (int[]) { IMGFMT_BGR24, IMGFMT_BGRA, IMGFMT_BGR15LE,
+ IMGFMT_Y800, 0},
+ },
#ifdef CONFIG_JPEG
{ "jpg", write_jpeg },
{ "jpeg", write_jpeg },