The following scenario: a TIFF has the following information Resolution (X and Y) 299.999 , Resolution unit: inch. Using Document size in Affinity Photo this is correctly specified as 300 dpi. If the image is now exported as JPEG, then 299 dpi is written there as resolution instead of 300 (or unchanged 299.999).