summaryrefslogtreecommitdiff
path: root/svgio/qa/cppunit/data
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-06-29 15:46:42 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-06-29 21:35:17 +0200
commit74c9fd3ae5b63981fb256e019f0cf974329157f0 (patch)
tree2f4470e18123856c8c61db9f4e4586ccf1a67de6 /svgio/qa/cppunit/data
parent210f2345c2eea2c52b673e2327a2ed096d9a888a (diff)
tdf#156066: Add support for feImage filter
Change-Id: I76cf8932ae352c271283483c9c734408a35b6074 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153770 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/qa/cppunit/data')
-rw-r--r--svgio/qa/cppunit/data/filterFeImage.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/svgio/qa/cppunit/data/filterFeImage.svg b/svgio/qa/cppunit/data/filterFeImage.svg
new file mode 100644
index 000000000000..5682dbf4692c
--- /dev/null
+++ b/svgio/qa/cppunit/data/filterFeImage.svg
@@ -0,0 +1,16 @@
+<svg
+ viewBox="0 0 200 200"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ width="200"
+ height="200">
+ <defs>
+ <filter id="image">
+ <feImage
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBCAYAAADnoNlQAAAABHNCSVQICAgIfAhkiAAAAUJJREFUeJzt3EENAkEQRcG3aMAjMpYzBgjqSDCyWJhbZ5IqBf/w0sc+6rzaxnN6wLpzesC62/QA5okAESACEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAiojvv12+at7aPP9IRlO211CRABIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAdVzvtnlr22t6wLrnd3rBOpcAESACEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBCQCEgGJgERAIiARkAhIBFR/ALUM7y9VYLsAAAAASUVORK5CYII="/>
+ </filter>
+ </defs>
+
+ <rect x="10%" y="10%" width="80%" height="80%" style="filter:url(#image);" />
+</svg>
+