diff options
author | louis <louis.braun@gmx.de> | 2013-11-26 01:01:29 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-11-26 01:01:29 +0100 |
commit | f7995bc496cccef8afa69b9ddbe2583b25baa93c (patch) | |
tree | de33d9c581b6c690f35e893933349f5dd9c26e25 /imagemagickwrapper.h | |
parent | 96f22566023f2336e9bbcd2861f77ad97958014e (diff) | |
download | skin-nopacity-f7995bc496cccef8afa69b9ddbe2583b25baa93c.tar.gz skin-nopacity-f7995bc496cccef8afa69b9ddbe2583b25baa93c.tar.bz2 |
improved image scaling by using internal scaling libary from Nikolaus Meine (thanks @Soeren Moch for providing the patch)
Diffstat (limited to 'imagemagickwrapper.h')
-rw-r--r-- | imagemagickwrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imagemagickwrapper.h b/imagemagickwrapper.h index a5cc482..5f9901e 100644 --- a/imagemagickwrapper.h +++ b/imagemagickwrapper.h @@ -17,7 +17,7 @@ public: protected: Image buffer; Color Argb2Color(tColor col); - cImage *CreateImage(void); + cImage *CreateImage(int width, int height, bool preserveAspect = true); cImage CreateImageCopy(void); bool LoadImage(std::string FileName, std::string Path, std::string Extension); bool LoadImage(const char *fullpath); |