Closed (outdated)
Project:
ImageMagick
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2012 at 13:54 UTC
Updated:
20 Jan 2025 at 15:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kumkum29 commentedHello,
I reopen this issue for eps thumbnails.
I generate thumbnails for tiff files. But, If I upload an eps file, it does not generate any eps thumbnails in the "styles" directory.
Did you generate eps thumbnails with imagemagick? If yes, can you tell me how?
Thank you for your help.
I use media module + private files scheme
Comment #2
el_toro commentedHi kumkum29, you can give the ImageField EPS module a try for handling eps files...
Comment #3
kumkum29 commentedHello el_toro,
thanks for your reply.
I found this module. In fact, it can work for eps file. For TIFF files I have no solution.
Comment #4
andyf commentedI used this patch to let me work with EPS files; I don't see why it shouldn't work for other postscript files, but I haven't tested it. It uses the identify binary to work out the image's aspect ratio (configure the path in the normal place) and is only tested with IM 6.6.9-7. To actually render the image to a bitmap I'm using the File format switcher from ImageCache Actions.
It's worth mentioning that as well as patching IM, you'll need to allow the filetype to be uploaded (I'm using media 2.x which allows me to specify allowed mime types). You'll also want to do something to ensure the image is downloaded with the correct mimetype. You could rename the file; I'm adding an .htaccess ForceType to the style folder on hook_image_style_flush().
HTH
Comment #5
andyf commentedBtw you don't need a patch to use TIFFs - just use the File format switcher from ImageCache Actions.
Comment #6
mondrakeDrupal 7 is EOL