Sha256: 2a5fcaba26bee3dcb0bbb651b0a28a4e7c6a1f1246d325e3c0af550af5e5efda
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
require_relative '../lib/fast_excel' workbook = FastExcel.open("example_image.xlsx", constant_memory: false) worksheet = workbook.add_worksheet img_options = Libxlsxwriter::ImageOptions.new img_options[:x_offset] = 0 img_options[:y_offset] = 0 worksheet.insert_image_opt(3, 3, "libxlsxwriter/examples/logo.png", img_options) workbook.close puts "Saved to file example_image.xlsx"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fast_excel-0.2.1 | examples/example_image.rb |