Sha256: 98637ce762c2df293d292cbd15e250f7544d2ea4164f326f61a45f6369b712d8
Contents?: true
Size: 369 Bytes
Versions: 9
Compression:
Stored size: 369 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, "examples/logo.png", img_options) workbook.close puts "Saved to file example_image.xlsx"
Version data entries
9 entries across 9 versions & 2 rubygems