summaryrefslogtreecommitdiff
path: root/core/helpers/graphics.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/graphics.php')
-rw-r--r--core/helpers/graphics.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php
index 7e0c3e5d..b4729532 100644
--- a/core/helpers/graphics.php
+++ b/core/helpers/graphics.php
@@ -166,6 +166,7 @@ class graphics_Core {
} else {
Image::factory($input_file)
->resize($options["width"], $options["height"], $options["master"])
+ ->quality(module::get_var("core", "image_quality"))
->save($output_file);
}
}
@@ -183,6 +184,7 @@ class graphics_Core {
}
Image::factory($input_file)
+ ->quality(module::get_var("core", "image_quality"))
->rotate($options["degrees"])
->save($output_file);
}
@@ -232,6 +234,7 @@ class graphics_Core {
Image::factory($input_file)
->composite($options["file"], $x, $y, $options["transparency"])
+ ->quality(module::get_var("core", "image_quality"))
->save($output_file);
}