summaryrefslogtreecommitdiff
path: root/imagemagickwrapper.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-11-26 01:01:29 +0100
committerlouis <louis.braun@gmx.de>2013-11-26 01:01:29 +0100
commitf7995bc496cccef8afa69b9ddbe2583b25baa93c (patch)
treede33d9c581b6c690f35e893933349f5dd9c26e25 /imagemagickwrapper.h
parent96f22566023f2336e9bbcd2861f77ad97958014e (diff)
downloadskin-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.h2
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);