Commit 1fb4add1 authored by Nicolas Delaby's avatar Nicolas Delaby

Add new chain pdf_to_png using ImageMagick


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35623 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d42458e
# -*- coding: utf-8 -*-
from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageMagickTransforms
class pdf_to_png(ImageMagickTransforms):
__name__ = "pdf_to_png"
inputs = ('application/pdf', )
output = 'image/png'
format = 'png'
def register():
return pdf_to_png()
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