Welcome to TalkGraphics.com
Results 1 to 10 of 28

Hybrid View

  1. #1

    Default export with "bmp" format with standard DPI headers

    This is quite specific because my employment is using software that is specialized for use with BMP's. I am not sure why we do not have the option to set the DPI header upon export. Every other software I have used includes this.

    Thank you
    RonC

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: export with "bmp" format with standard DPI headers

    Ron can you attach a screen shot of any software's option to set a bmp dpi header?

    I don't recall ever seeing one.

    Microsoft bitmap images (.bmp) has always been a default of 96 dpi (standard windows resolution).
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: export with "bmp" format with standard DPI headers

    This link shows the Windows bitmap file structure. http://www.fileformat.info/format/bm...86d9c/view.htm

    The header specification does not include any dpi information that I can find.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: export with "bmp" format with standard DPI headers

    Maybe you are referring to a .dib (device independant bitmap)? File structure: http://www.fileformat.info/format/bm...c67a4/view.htm

    The .dib still image format contains an embedded jpeg image which does support a dpi.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: export with "bmp" format with standard DPI headers

    It appears there is a resolution for Target Device in the BITMAPINFOHEADER structure.

    The values are normally set to zero although it is possible to set the number of pixels per meter that the target device supports.

    The biXPelsPerMeter is used for Horizotal resolution and biYPelsPerMeter for the Vertical resolution. Both refer to a specific target device resolution. An application can use those values to determine a specific bitmap within a resource group to send to a specific target device.

    The display screen is usually the target device for a .bmp image so the biXPelsPerMeter and biYPelsPerMeter are set to 0 by current applications creating an individual bitmap image for display.

    I'm not aware of applications that are created to support output devices that work using Pixels Per Meter, although it sounds like a good feature for (extremely) large format printers designed for billboards.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  6. #6

    Default Re: export with "bmp" format with standard DPI headers

    I can define further what I mean once I talk to my boss, he codes the software for this so he's pretty familiar with the .bmp file...

  7. #7
    Join Date
    May 2004
    Location
    Xara Group Ltd
    Posts
    415

    Default Re: export with "bmp" format with standard DPI headers

    Don't worry, we know all about the PelsPerMeter settings. The value equivalent to 96dpi is 3780 (actually 3779.53). Writing different values into these fields in a BMP used to (i.e. more than 10 years ago) cause many more problems than it solved but we should probably look at it again.

    Gerry

  8. #8
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: export with "bmp" format with standard DPI headers

    Thanks Gerry, I wasn't worried.

    If the issue of setting values other than zero in those fields were resolved I think it would have been significant enough to have been heard around the world.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •