![template_test_letter_not_display_header_bmp.png](https://lab.nexedi.com/xavier_thompson/erp5/-/raw/85b135662c3c4c57da611140b950dc1c0f6ac9e7/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_letter_not_display_header_bmp.png)
-
Jérome Perrin authored
BMP are not compressed and use more disk space than PNG. The trick is that ERP5 uses by default a quality of 75% on images ([this is default on propertysheet]) so we need to dump the image with maximum (100%) quality. Update also assertion message to not include the full base64 image in case of difference, use a short assertion message and save images in log folder. [this is default on propertysheet]: https://lab.nexedi.com/nexedi/erp5/blob/2f9b67fae3ac59955231d4191a34134ff1b6079a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/HtmlStylePreference/preferred_image_quality_property.xml#L56
85b13566
![template_test_letter_not_display_header_bmp.png](https://lab.nexedi.com/xavier_thompson/erp5/-/raw/85b135662c3c4c57da611140b950dc1c0f6ac9e7/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_letter_not_display_header_bmp.png)