Qlik Community

Ask a Question

Knowledge Base

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY

Image size in Email is not as expected when opened in Outlook Desktop Client

Aaryan
Support
Support

Image size in Email is not as expected when opened in Outlook Desktop Client

Image size in the email sent on Outlook Desktop Client by NPrinting server is not same as expected. When same email is opened on Outlook Web or other Email clients like Gmail ,size of the image is correct and as expected. Image size is also correct when opened in NPrinting Designer Preview and export report.

Environment 

 

Cause

This is an Outlook behavior, Outlook sets a maximum display width and height which are dependent on the end user screen and scales down images to fit this maximum constraint. The final size depends on the scale of the original image.

 

Workaround

As this behavior is independent from NPrinting and only due to Outlook display , there are some workarounds on this, but not a solution :

  1. Instead of viewing the image in outlook, right click on the image, save it and view it in image viewer. This will show the image in full size without any downscaling.
  2. Attach the report to the image in addition to embedding, so it can be opened in any browser. Customer can also choose to generate the report using a different template format (e.g. insert the image in Excel) at their convenience
  3. Split the table in different images using filters and include those in the report. 
  4. Create a straight table in the Sense app to show the same data of the pivot table (If you are using image, you cannot use pivoting functions anyway) and include the table in the HTML file instead of the image.

 

Some of the Best Practices to improve quality and size of the Image :

1. Clean up template and select display size for the image

  • In the template, remove any explicit height and width setting in the image tag. This will avoid unwanted resizing of the image which will ruin the quality and have no visible effect in Outlook client
  • For display area settings, please use the bare minimum needed to have the full size image in the report for best performance. 

2. Set renderer parameters to improve image quality

By default, images with width or height over 3000px will use an upscaling algorithm that may cause visual degrades. To change this and use the native rendering please do the following

  • On NPrinting June2020 and higher, stop Scheduler service and open as administrator the file \Program Files\NPrintingServer\NPrinting\Scheduler\renderer.config to edit (may require administrator permissions)
  • On prior version, stop Engine service and open as administrator the file \Program Files\NPrintingServer\NPrinting\Engine\engine.config to edit (may require administrator permissions)
  • If the width found at point 1 is higher than 3000, add to the XML configuration <add key="webrenderer-max-image-width-px" value="7000"/>
  • If the height is over 3000, which should be the customer case, add the key<add key="webrenderer-max-image-height-px" value="7000"/>
  • Restart services

3. Task settings

Use NORMAL quality for the report in task instead of HIGH

Related Content

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

 

Internal Investigation ID

QB-3253

Labels (1)
Version history
Revision #:
4 of 4
Last update:
‎2021-06-09 11:48 AM
Updated by: