SAP Knowledge Base Article - Public

2988838 - Document Generation Maximum Image Width and Height - Employee Central

Symptom

What is exact maximum of width and height for an image that could be attached in Document Generation Template and could be downloaded through PDF and/or Word?

Environment

SAP SuccessFactors Employee Central : Document Generation

Resolution

  • For Microsoft Word format file type, Currently there is a size limitation for images and logos in the RTE when the template needs to be generated. To render images or logos correctly in this case, they must be inserted with an 'original' size (the image in URL should be under specified size) of maximum 100 height and 200 width, refer the implementation guidebook Document Generation - Uploading an Image to a Template

  • For the PDF file type, we do not have a exact number for the maximum image size, as PDF tries to accommodate the bigger image size by reducing the size of the text/other content given along with the image.
    After 1200px there doesn't to be any difference with the image size, except for the text size which that includes on the template will keeps reducing.
    As we cannot control how the size of the image is handled in the PDF, giving an exact number is not possible.
    The recommended maximum size to maintain for an image in Document Generation Template is within 800*1200px or 1200*1200px for PDF file type.

See Also

2835420 - Document is generated with reduced font size

2344607 - Document Generation: Uploaded image is not displayed in generated document

Keywords

Document Generation, Document Generation Template, Size, Maximum Width, Maximum Height, PDF, File Type, word, image , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , How To

Product

SAP SuccessFactors Employee Central all versions