Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
0bfd6e16
Commit
0bfd6e16
authored
Apr 24, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Included transform to convert an image to svg
parent
5421188e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
1 deletion
+97
-1
product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_transforms/image_to_svg.xml
..._core/PathTemplateItem/portal_transforms/image_to_svg.xml
+86
-0
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
product/PortalTransforms/transforms/image_to_svg.py
product/PortalTransforms/transforms/image_to_svg.py
+10
-0
No files found.
product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_transforms/image_to_svg.xml
0 → 100644
View file @
0bfd6e16
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transform"
module=
"Products.PortalTransforms.Transform"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_config
</string>
</key>
<value>
<object>
<klass>
<global
id=
"1.1"
name=
"UserDict"
module=
"UserDict"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
__allow_access_to_unprotected_subobjects__
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_config_metadata
</string>
</key>
<value>
<object>
<klass>
<reference
id=
"1.1"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
image_to_svg
</string>
</value>
</item>
<item>
<key>
<string>
inputs
</string>
</key>
<value>
<tuple>
<string>
image/*
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
module
</string>
</key>
<value>
<string>
Products.PortalTransforms.transforms.image_to_svg
</string>
</value>
</item>
<item>
<key>
<string>
output
</string>
</key>
<value>
<string>
image/svg
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
0bfd6e16
41034
41035
\ No newline at end of file
\ No newline at end of file
product/PortalTransforms/transforms/image_to_svg.py
0 → 100644
View file @
0bfd6e16
from
Products.PortalTransforms.libtransforms.imagemagick_transform
import
ImageMagickTransforms
class
image_to_svg
(
ImageMagickTransforms
):
__name__
=
"image_to_svg"
inputs
=
(
'image/*'
,
)
output
=
'image/svg+xml'
format
=
'svg'
def
register
():
return
image_to_svg
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment