diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-18 18:57:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-18 18:57:19 +0300 |
commit | e7537ca6033a13ff1d21aac4a61a49ef325684b6 (patch) | |
tree | 5495e120bbb8108677fcdcde1cbc77a2417fc5d3 /src/progs/dyecmd | |
parent | 0f7c14085321a54ad8c442041d3a26f5dfed5fd1 (diff) | |
download | mv-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.gz mv-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.bz2 mv-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.xz mv-e7537ca6033a13ff1d21aac4a61a49ef325684b6.zip |
Move imagewriter into utils directory and rename to pnglib.
Diffstat (limited to 'src/progs/dyecmd')
-rw-r--r-- | src/progs/dyecmd/dyemain.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/progs/dyecmd/dyemain.cpp b/src/progs/dyecmd/dyemain.cpp index 234e4a600..a5e8a2a34 100644 --- a/src/progs/dyecmd/dyemain.cpp +++ b/src/progs/dyecmd/dyemain.cpp @@ -26,8 +26,6 @@ #include "fs/virtfs/fs.h" -#include "resources/imagewriter.h" - #include "resources/image/image.h" #ifdef USE_SDL2 @@ -37,6 +35,7 @@ #include "resources/loaders/imageloader.h" #include "utils/gettext.h" +#include "utils/pnglib.h" #include "utils/sdlhelper.h" #include <iostream> @@ -114,7 +113,7 @@ int main(int argc, char **argv) } SDL_Surface *const surface = ImageHelper::convertTo32Bit( image->getSDLSurface()); - ImageWriter::writePNG(surface, dst); + PngLib::writePNG(surface, dst); SDL_FreeSurface(surface); VirtFs::deinit(); return 0; |