Commit b63e3bea authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

*: update obsolete MIME type in transforms.

parent f4cc3ca6
Pipeline #36823 failed with stage
in 0 seconds
......@@ -3,7 +3,7 @@ from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageM
class image_to_bmp(ImageMagickTransforms):
__name__ = "image_to_bmp"
inputs = ('image/*', )
output = 'image/x-ms-bmp' # image/bmp
output = 'image/bmp'
format = 'bmp'
def register():
......
......@@ -3,7 +3,7 @@ from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageM
class image_to_pcx(ImageMagickTransforms):
__name__ = "image_to_pcx"
inputs = ('image/*', )
output = 'image/pcx' # image/vnd.zbrush.pcx image/x-pcx
output = 'image/vnd.zbrush.pcx'
format = 'pcx'
def register():
......
......@@ -82,7 +82,7 @@
<key> <string>inputs</string> </key>
<value>
<list>
<string>text/comma-separated-values</string>
<string>text/csv</string>
</list>
</value>
</item>
......@@ -117,7 +117,7 @@
<key> <string>data</string> </key>
<value>
<list>
<string>text/comma-separated-values</string>
<string>text/csv</string>
</list>
</value>
</item>
......
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>output</string> </key>
<value> <string>image/x-ms-bmp</string> </value>
<value> <string>image/bmp</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
......
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>output</string> </key>
<value> <string>image/pcx</string> </value>
<value> <string>image/vnd.zbrush.pcx</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
......
......@@ -82,7 +82,7 @@
<key> <string>inputs</string> </key>
<value>
<list>
<string>application/x-httpd-php</string>
<string>application/x-php</string>
</list>
</value>
</item>
......@@ -117,7 +117,7 @@
<key> <string>data</string> </key>
<value>
<list>
<string>application/x-httpd-php</string>
<string>application/x-php</string>
</list>
</value>
</item>
......
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>output</string> </key>
<value> <string>image/x-ms-bmp</string> </value>
<value> <string>image/bmp</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment