#! /usr/bin/env bash

for i in *.jpg
do
	n="$(basename "${i}" '.jpg')"
	convert "${i}" "${n}.png"
	convert "${i}" "${n}.tga"
	convert "${n}.png" "${n}.png.tga"
done
