#!/bin/bash

new_name=`echo "$1"|sed -e 's/\(.*\)\.png/\1\.jpg/g'`

echo $new_name
convert $1 $new_name && rm $1
