Mercurial > hg > orthanc
diff Core/ImageFormats/PngReader.cpp @ 1610:2dff2bdffdb8
font support within Orthanc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Sep 2015 13:44:21 +0200 |
parents | 6e7e5ed91c2d |
children |
line wrap: on
line diff
--- a/Core/ImageFormats/PngReader.cpp Wed Sep 02 15:07:47 2015 +0200 +++ b/Core/ImageFormats/PngReader.cpp Fri Sep 04 13:44:21 2015 +0200 @@ -201,7 +201,7 @@ png_read_image(rabi.png_, &rows[0]); - AssignReadOnly(format, width, height, pitch, &data_[0]); + AssignWritable(format, width, height, pitch, &data_[0]); } void PngReader::ReadFromFile(const char* filename)