[gegl] tests: Add reference test for scale-size-keepaspect
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: Add reference test for scale-size-keepaspect
- Date: Mon, 5 Jan 2015 17:54:17 +0000 (UTC)
commit 2e61e5c3565902267ddb88406b5a5df02cd280a8
Author: Jon Nordby <jononor gmail com>
Date: Mon Jan 5 18:53:38 2015 +0100
tests: Add reference test for scale-size-keepaspect
tests/compositions/Makefile.am | 1 +
.../reference/scale-size-keepaspect.png | Bin 0 -> 654 bytes
tests/compositions/scale-size-keepaspect.xml | 13 +++++++++++++
3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index e75ae54..cb21a1f 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -49,6 +49,7 @@ TESTS = \
rgb-params.xml \
rotate.xml \
simple-scale.xml \
+ scale-size-keepaspect.xml \
sinus.xml \
softglow.xml \
stretch-contrast.xml \
diff --git a/tests/compositions/reference/scale-size-keepaspect.png
b/tests/compositions/reference/scale-size-keepaspect.png
new file mode 100644
index 0000000..d34a139
Binary files /dev/null and b/tests/compositions/reference/scale-size-keepaspect.png differ
diff --git a/tests/compositions/scale-size-keepaspect.xml b/tests/compositions/scale-size-keepaspect.xml
new file mode 100644
index 0000000..cccbec7
--- /dev/null
+++ b/tests/compositions/scale-size-keepaspect.xml
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+ <node operation='gegl:scale-size-keepaspect'>
+ <params>
+ <param name='x'>80</param>
+ </params>
+ </node>
+ <node operation='gegl:load'>
+ <params>
+ <param name="path">data/grid.png</param>
+ </params>
+ </node>
+</gegl>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]