#!/bin/bash

for i in *.fits
do
	name=`echo $i | sed 's/\.fits/\.png/g'`
	convert $i -quality 100 -colorspace RGB -depth 16 $name
done
