Previous topic

5.16.2. thumbnailers.jfif — Thumbnailer for files containing a JPEG thumbnail

Next topic

5.16.4. thumbnailers.odf — Thumbnailer for OpenDocument files

This Page

Languages

Previous versions

1.2
1.1

5.16.3. thumbnailers.magick — thumbnailer for image files (ImageMagick)

plmapp.thumbnailers.magickthumbnailer.limit_resources()[source]

Limits the process execution time to 60 seconds.

plmapp.thumbnailers.magickthumbnailer.magick_thumbnailer(input_path, original_filename, output_path)[source]

Thumbnailer that calls convert (from ImageMagick) to generate a thumbnail.

plmapp.thumbnailers.magickthumbnailer.FORMATS = ('.3fr', '.a', '.ai', '.art', '.arw', '.avi', '.avs', '.b', '.bgr', '.bgra', '.bmp', '.brg', '.c', '.cal', '.cals', '.caption', '.cin', '.cmyk', '.cmyka', '.cr2', '.crw', '.cur', '.cut', '.dcm', '.dcr', '.dcx', '.dds', '.dfont', '.djvu', '.dng', '.dot', '.dpx', '.epdf', '.epi', '.eps', '.epsf', '.epsi', '.ept', '.ept2', '.ept3', '.erf', '.exr', '.fax', '.fits', '.fractal', '.fts', '.g', '.g3', '.gbr', '.gif', '.gif87', '.gradient', '.gray', '.grb', '.group4', '.hald', '.hrz', '.icb', '.ico', '.icon', '.inline', '.ipl', '.j2c', '.jng', '.jp2', '.jpc', '.jpeg', '.jpg', '.jpx', '.k', '.k25', '.kdc', '.label', '.m', '.m2v', '.m4v', '.map', '.mat', '.miff', '.mng', '.mono', '.mov', '.mp4', '.mpc', '.mpeg', '.mpg', '.mrw', '.msl', '.msvg', '.mtv', '.mvg', '.nef', '.null', '.o', '.orf', '.otb', '.otf', '.pal', '.palm', '.pam', '.pattern', '.pbm', '.pcd', '.pcds', '.pcl', '.pct', '.pcx', '.pdb', '.pdf', '.pdfa', '.pef', '.pes', '.pfa', '.pfb', '.pfm', '.pgm', '.pgx', '.picon', '.pict', '.pix', '.pjpeg', '.plasma', '.png', '.png24', '.png32', '.png8', '.pnm', '.ppm', '.ps', '.psb', '.psd', '.ptif', '.pwp', '.r', '.raf', '.ras', '.rbg', '.rgb', '.rgba', '.rgbo', '.rla', '.rle', '.scr', '.sct', '.sfw', '.sgi', '.sr2', '.srf', '.stegano', '.sun', '.svg', '.svgz', '.text', '.tga', '.tiff', '.tile', '.tim', '.ttc', '.ttf', '.txt', '.uyvy', '.vda', '.vicar', '.vid', '.viff', '.vst', '.wbmp', '.wmf', '.wmv', '.wmz', '.wpg', '.x', '.x3f', '.xbm', '.xc', '.xcf', '.xpm', '.xps', '.xv', '.xwd', '.y', '.ycbcr', '.ycbcra', '.yuv')

Supported formats (if all ImageMagick decoders are installed)