comparison Core/Images/PngWriter.cpp @ 2140:aa4b8895cd23

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 16:12:47 +0100
parents 08ce34cfacad
children fd5875662670
comparison
equal deleted inserted replaced
2139:764c9157301b 2140:aa4b8895cd23
209 PixelFormat format, 209 PixelFormat format,
210 const void* buffer) 210 const void* buffer)
211 { 211 {
212 Prepare(width, height, pitch, format, buffer); 212 Prepare(width, height, pitch, format, buffer);
213 213
214 FILE* fp = Toolbox::OpenFile(filename, FileMode_WriteBinary); 214 FILE* fp = SystemToolbox::OpenFile(filename, FileMode_WriteBinary);
215 if (!fp) 215 if (!fp)
216 { 216 {
217 throw OrthancException(ErrorCode_CannotWriteFile); 217 throw OrthancException(ErrorCode_CannotWriteFile);
218 } 218 }
219 219