Skip to main content
lexip81
Participant
January 8, 2015

P: Resolution differs in Photoshop and other applications for BMP files

  • January 8, 2015
  • 7 replies
  • 175 views

Opening a BMP file in PS tells me, that the file has a resolution of 1016,25 dpi.

The hexadecimal code for the resolution of this BMP image in a hex editor is 40 9c 00 00 (both directions).

9c40 -> to decimal = 40000 pixel per meter -> 1016 pixel per inch.

I suppose the resolution shown in Photoshop is wrong?

This topic has been closed for replies.

7 replies

Legend
January 25, 2018
This issue was fixed a while back. Should work correctly in current versions of Photoshop. Thanks.
Inspiring
January 20, 2015
We're testing a fix for it now. It was a typo in the least significant digit of the conversion factor, plus integer math that wasn't as precise as it should be. It worked well for small dpi numbers (72, 96, etc.), but not so well for larger numbers (where the error becomes more significant).
Participating Frequently
January 20, 2015
Hi Stefan,

This is being investigated by engineering. I don't have an ETA at the moment, but we'll update the thread once we have an update.

Thanks,
Eric
lexip81
lexip81Author
Participant
January 20, 2015
Anything new for this issue?
Participating Frequently
January 9, 2015
Hi Stefan,

Thanks for the information - I have reproduced what you are seeing. We are looking into it.

Thanks,
Eric
lexip81
lexip81Author
Participant
January 9, 2015
HI Eric,

Photoshop displays a different value compared to the raw hex values.
Photoshop says 1016,25 dpi an the raw values are 1016,00 dpi.
Other applications like Apple Preview or Corel reporting 1016,00 dpi.

When I am changing the displayd resolution in Photoshop to 1016,00 dpi and save the image again to BMP the raw hex values are 9c37.

Iam on OSX 10.6.8 with Photoshop CS5 (12.1) and on OSX 10.9.5 with Photoshop CC 2014. (Both with the same issue.)

Participating Frequently
January 8, 2015
Hi Stefan,

If you calculated the raw hex values to ppi and that value matches what Photoshop is reporting, I am not sure what the issue is. What value are you seeing for the resolution in other applications?

What OS and version of Photoshop are you running?

Thanks,
Eric