

def tif_to_pdf(self):
    'tiff to pdf conversion, use tiff2pdf command (libtiff)'
    file_obj = self.do_convert('tiff2pdf -o %(to)s %(from)s')
    return ['application/pdf', file_obj]

dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/converter.py NewFileConverter.tif_to_pdf/original