making transparent scaled image