Optimize storage of drawing

If the drawing contain an image we extract it

Fix #591
This commit is contained in:
Julien Duponchelle committed 2016-07-13 16:18:22 +02:00
1 parent 3dccfbb852
commit 8be1e77a2e
6 files changed
+244 -6

No files matched your search

+1 -2
View File
@@ -55,8 +55,7 @@ DRAWING_OBJECT_SCHEMA = {
},
"svg": {
"description": "SVG content of the drawing",
"type": "string",
"pattern": "^<(.|[\r\n])+>$"
"type": "string"
}
},
"additionalProperties": False