convert image_reader public interface to use CamelCase to match the rest of codebase

This commit is contained in:
artemp
2014-11-26 17:50:12 +01:00
parent d978feed92
commit 84551d9349
7 changed files with 61 additions and 61 deletions

View File

@@ -77,13 +77,13 @@ Image::Image(std::string const& data)
{
try
{
auto reader = get_image_reader(data.c_str(), data.size());
auto reader = getImageReader(data.c_str(), data.size());
width = reader->width();
height = reader->height();
img = ::std::unique_ptr<char[]>(new char[width * height * 4]());
reader->read(0, 0, width, height, img.get());
}
catch (image_reader_exception const& ex)
catch (ImageReaderException const& ex)
{
fprintf(stderr, "Image: %s\n", ex.what());
img.reset();