Sha256: 2101f7a783a98688943c9f78a0d09a3cb8496e9fd38f291f037e08ae82f5715c
Contents?: true
Size: 302 Bytes
Versions: 2
Compression:
Stored size: 302 Bytes
Contents
# coding: utf-8 example :palleted_png, 'Rendering a palleted PNG with transparency' do |t| report = Thinreports::Report.new layout: t.layout_filename report.start_new_page do |page| page.item(:image).src = t.resource('palleted_png.png') end report.generate filename: t.output_filename end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.8.2 | examples/palleted_png/palleted_png.rb |
thinreports-0.8.1 | examples/palleted_png/palleted_png.rb |