@nephish: "Hello there all,
i have a simple function to draw an image, but i cannot for the life
of me figgure out from the docs how to make it about 20% transparent.
 def circle_image(zoom)
    site = self.site
     zoomhash = {13 => 0.5, 14 => 1, 15 => 2, 16 => 4}
    r = (self.radius.to_f * zoomhash[zoom.to_i].to_f)
    canvas = Magick888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Image.new((2 * r), (2*r),
Magick888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4HatchFill.new('transparent', 'transparent'))
    gc = Magick888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4raw.new
    # for the outside perimeter of the circle
    gc.stroke('black')
    gc.stroke_width(1)
    # fill in the inside
    color = KeyWord.stat_description(site.status_sensor.last_value)[1]
    gc.fill(color)
    gc.circle(r, r, 0, r)
    image = gc.draw(canvas)
    canvas.write("public/images/tmp/#{site.id}.png")
  end
please help, thanks
shawn"
    @rmagick: "<quote>
Do you want to make the entire image 20% transparent? Use the 
Image#opacity= attribute 
[<url>
Do you want to make the drawing 20% transparent so that the drawn-upon 
image shows through? See the Draw#stroke_opacity 
[<url> and 
Draw#fill_opacity 
[<url> 
methods.
Also check out the example drawing here 
[<url>
Posted via <url>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "comp.lang.ruby.20141210.mbox"}', 'file': 'data/output/usenet-comp.lang.parquet'}