From db6738478b6e0efe5a2484151e01e37ae358ac18 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 1 Jan 2012 23:34:26 +0100 Subject: [PATCH] Mixed up two lines :-P --- lib/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/image.php b/lib/image.php index b23e3507c34..a8948956bf4 100644 --- a/lib/image.php +++ b/lib/image.php @@ -111,10 +111,10 @@ class OC_Image { imagegif(self::$resource); break; case IMAGETYPE_JPEG: - imagepng(self::$resource); + imagejpeg(self::$resource); break; case IMAGETYPE_PNG: - imagejpeg(self::$resource); + imagepng(self::$resource); break; case IMAGETYPE_XBM: imagexbm(self::$resource); -- 2.39.5