- Timestamp:
- 05/13/10 13:01:06 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/imageio/ReaderWriterImageIO.cpp
r10855 r11428 1183 1183 // Only here to help test istream backend. The file version is better because 1184 1184 // the filenname.extension could potentially be used by ImageIO to hint what the format type is. 1185 std::ifstream istream(full_file_name.c_str(), std::ios::in | std::ios::binary);1185 osgDB::ifstream istream(full_file_name.c_str(), std::ios::in | std::ios::binary); 1186 1186 if(!istream) return ReadResult::FILE_NOT_HANDLED; 1187 1187 ReadResult read_result = readImage(istream); … … 1275 1275 // Only here to help test ostream backend. The file version is better because 1276 1276 // the filenname.extension could potentially be used by ImageIO to hint what the format type is. 1277 std::ofstream fout(file_name.c_str(), std::ios::out | std::ios::binary);1277 osgDB::ofstream fout(file_name.c_str(), std::ios::out | std::ios::binary); 1278 1278 if(!fout) return WriteResult::ERROR_IN_WRITING_FILE; 1279 1279 return writeImage(osg_image, fout, the_options);
