Refactored namespaces
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "image/Exception.hpp"
|
||||
#include "RawImage.hpp"
|
||||
|
||||
namespace Image::STB
|
||||
namespace lms::image::STB
|
||||
{
|
||||
JPEGImage::JPEGImage(const RawImage& rawImage, unsigned quality)
|
||||
{
|
||||
@@ -40,7 +40,7 @@ namespace Image::STB
|
||||
if (stbi_write_jpg_to_func(writeCb, &_data, rawImage.getWidth(), rawImage.getHeight(), 3, rawImage.getData(), quality) == 0)
|
||||
{
|
||||
_data.clear();
|
||||
throw ImageException {"Failed to export in jpeg format!"};
|
||||
throw Exception {"Failed to export in jpeg format!"};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user