Back to index

plone3  3.1.7
image_to_ppm.py
Go to the documentation of this file.
00001 from Products.PortalTransforms.libtransforms.piltransform import PILTransforms
00002 
00003 class image_to_ppm(PILTransforms):
00004     __name__  = "image_to_ppm"
00005     inputs    = ('image/*', )
00006     output   = 'image/x-portable-pixmap'
00007     format  = 'ppm'
00008 
00009 
00010 def register():
00011     return image_to_ppm()