Sha256: 5fd33d6b2ee3f115059a863905b7ace60507a5042b17b2d454656aa86b8c2957
Contents?: true
Size: 316 Bytes
Versions: 3
Compression:
Stored size: 316 Bytes
Contents
# frozen_string_literal: true 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.10.2 | examples/palleted_png/palleted_png.rb |
thinreports-0.10.1 | examples/palleted_png/palleted_png.rb |
thinreports-0.10.0 | examples/palleted_png/palleted_png.rb |