Re: [O] Publishing images to various sizes

2015-12-26 Thread John Kitchin
This isn't quite what you want but it is close. It is some code I hacked a while ago to convert pdf files to png files for html export. You can probably adapt this to get the sizes that you want by modifying the shell command. (defun my-link-format (link contents info) (let ((type

Re: [O] Publishing images to various sizes

2015-12-26 Thread Arun Isaac
John Kitchin writes: > (defun my-link-format (link contents info) > (let ((type (org-element-property :type link)) > (path (org-element-property :path link))) > (cond > ((and >(string= type "file") >(string-match "\.pdf" path)) >

[O] Publishing images to various sizes

2015-12-24 Thread Arun Isaac
Hi, Is there some package that provides a publishing function I can use to automatically publish images to various sizes? Probably something that wraps around imagemagick's 'convert' command? When I publish images to my website, I want them to be available in various sizes, so that I can choose