Open mindeffects opened 9 years ago
+1 especially for cmyk-pdf support.
I would group this feature into the same area as media-browser issues like drag & drop and image upload features (client side preprocessing). IMHO we definitely need to get a more bird's eye view on our issues to prevent tackling around with small and separated issues: grouping issues together to improve a complete "area" (media handling in this case) with a strategy for the future development...
OK, GD is nice, but ImageMagick is nicer. For converting CMYK-PDFs to JPGs IM is the only choice you have. I like "pThumb & Resizer" for their remarkable speed!
Sadly "Resizer" cannot handle CMYK-PDFs. Demo: http://www.mindeffects.de/pdf2bitmap.html
[[!phpthumbof? &input=
assets/content/projects/2014/dij-cmyk-x3.pdf&options=
&w=480&f=jpg&q=90&useResizer=
0&debug=
1]]
Maybe there is a simple way of making a direkt connection between Resizer and IM to make all those nice IM comand line features available? (At least on systems which support EXEC stuff.)
Here is a "little" list of the marvelous ImageMagick features available via "convert": http://www.imagemagick.org/script/convert.php Command line example:
convert -verbose -density 300 -quality 90 my.pdf my.jpg
This, in combination with a proper image-caching would be something "the holy grail of server side image processing". ;-)