0
img1 = Magick::Image.read("public/123.png").first
img1.background_color = "none"
img1.rotate!(30)
img1.write('test.png')
背景色爲黑色,透明程度rmagic旋轉和背景色爲黑色
任何人,幫助嗎?
img1 = Magick::Image.read("public/123.png").first
img1.background_color = "none"
img1.rotate!(30)
img1.write('test.png')
背景色爲黑色,透明程度rmagic旋轉和背景色爲黑色
任何人,幫助嗎?
img1 = Magick::Image.read("public/123.png").first
img1.background_color = "transparent"
img1.rotate!(30)
img1.write('test.png')