Skip to main content Skip to complementary content

exportImg method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

Exports a QVisualization instance to an image.

Version history

Introduced Qlik Sense September 2018



Type: Object

Image export settings.


Name Type Description
height Number | String

Output height in pixels.

width Number | String

Output width in pixels.

format String

The image type the visualization should be exported to. Can be one of:

  • PNG
  • JPG

Default is JPG.


A promise of a link to the exported file.


var settings = { format: 'png', height: element.offsetHeight, width: element.offsetWidth }

var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d', config);
  vis.exportImg(settings).then(function (result) {
    console.log('Image download link: ', result);

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!