Hi UWSkeletor,
I don't think you did it wrong, actually, what you state is a normal behavior. Pixel is calculated by integer, Computer will round the float to integer even though you caclulate the DPI in float. Do 95.98 get from the GIMP tool? As I know, some tool may not provide rounded numbers.
Have a nice day,
Kee Poppy [MSFT]
MSDN Community Support | Feedback to us