You have to specify the background before the rotate.
This works for me
convert lena2g.jpg -background none -rotate 45 tmp.png
rotate image and give transparent background
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 1 guest