consider jpeg as images