From f7995bc496cccef8afa69b9ddbe2583b25baa93c Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 26 Nov 2013 01:01:29 +0100 Subject: improved image scaling by using internal scaling libary from Nikolaus Meine (thanks @Soeren Moch for providing the patch) --- imagemagickwrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imagemagickwrapper.h') 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); -- cgit v1.2.3