use jpeg thumbail if not transparent to reduce size