rotating PNG image leaves white border

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Raymon
Posts: 1
Joined: 2013-01-09T06:38:24-07:00
Authentication code: 6789

rotating PNG image leaves white border

Post by Raymon »

ImageMagick 6.8.1-0
CentOS 5.8
Perl

Hi, I have an image that I want to rotate 360 degrees saving an image each 5 degrees. I use the following command:

convert image.png -rotate $i -transparent none -background none image$1.png

This does remove the background (or white square) when rotating but it still leaves me with a thin white border. Any idea how I can get rid of this?

Many thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: rotating PNG image leaves white border

Post by fmw42 »

please post a link to your input and output example so we can see. or try adding -virtual-pixel none
Post Reply