Changeset 1055
- Timestamp:
- 01/29/08 02:17:45 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/Image/FileIO/OSGPNGImageFileType.cpp
r709 r1055 423 423 // set resolution png supports only meter per pixel, 424 424 // so we do a conversion from dpi with some rounding. 425 png_uint_32 res_x = p Image->getResX();426 png_uint_32 res_y = p Image->getResY();425 png_uint_32 res_x = png_uint_32(pImage->getResX()); 426 png_uint_32 res_y = png_uint_32(pImage->getResY()); 427 427 if(pImage->getResUnit() == Image::OSG_RESUNIT_INCH) 428 428 {
