0
img1 = Magick::Image.read("public/123.png").first
img1.background_color = "none"

img1.rotate!(30)
img1.write('test.png')

背景色は黒、透明度

誰か助けて?

4

1 に答える 1

1
img1 = Magick::Image.read("public/123.png").first
img1.background_color = "transparent"

img1.rotate!(30)
img1.write('test.png')
于 2013-07-10T00:29:08.217 に答える