img1 = Magick::Image.read("public/123.png").first
img1.background_color = "none"
img1.rotate!(30)
img1.write('test.png')
背景颜色是黑色的,透明度如何
任何人,帮助?
img1 = Magick::Image.read("public/123.png").first
img1.background_color = "none"
img1.rotate!(30)
img1.write('test.png')
背景颜色是黑色的,透明度如何
任何人,帮助?