diff options
author | scuri <scuri> | 2009-08-19 18:39:31 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-08-19 18:39:31 +0000 |
commit | 43522c5f2a12dc0cf3cda733e4fb5c04cd62a154 (patch) | |
tree | 898c6d10776a5e8e50dc93c7c51d334e5bc79cb3 /src/im_format_bmp.cpp | |
parent | 40b9c00bf632734a5871c78d58c7661f1b0988a0 (diff) |
*** empty log message ***
Diffstat (limited to 'src/im_format_bmp.cpp')
-rw-r--r-- | src/im_format_bmp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im_format_bmp.cpp b/src/im_format_bmp.cpp index 5ec4938..b9b52dd 100644 --- a/src/im_format_bmp.cpp +++ b/src/im_format_bmp.cpp @@ -2,7 +2,7 @@ * \brief BMP - Windows Device Independent Bitmap * * See Copyright Notice in im_lib.h - * $Id: im_format_bmp.cpp,v 1.2 2008/12/03 15:45:34 scuri Exp $ + * $Id: im_format_bmp.cpp,v 1.3 2009/08/19 18:39:43 scuri Exp $ */ #include "im_format.h" @@ -541,7 +541,7 @@ int imFileFormatBMP::ReadImageInfo(int index) imAttribTable* attrib_table = AttribTable(); attrib_table->Set("XResolution", IM_FLOAT, 1, &xres); attrib_table->Set("YResolution", IM_FLOAT, 1, &yres); - attrib_table->Set("ResolutionUnit", IM_BYTE, 4, "DPC"); + attrib_table->Set("ResolutionUnit", IM_BYTE, -1, "DPC"); } if (this->bpp <= 8) |