<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Images to PDFs</title>
	<atom:link href="http://automatorworld.com/archives/images-to-pdfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://automatorworld.com/archives/images-to-pdfs/</link>
	<description>Better Living Through Macintosh Scripting</description>
	<lastBuildDate>Thu, 05 Aug 2010 13:32:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: algal</title>
		<link>http://automatorworld.com/archives/images-to-pdfs/comment-page-1/#comment-11825</link>
		<dc:creator>algal</dc:creator>
		<pubDate>Mon, 21 Aug 2006 08:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.automatorworld.com/?p=91#comment-11825</guid>
		<description>&lt;p&gt;Just realized that Apple provides an example of using CoreGraphics to convert an image to a pdf in 
/Developer/Examples/Quartz/Python/image.py. This would probably be the place to start writing an Automator action that did so.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just realized that Apple provides an example of using CoreGraphics to convert an image to a pdf in 
/Developer/Examples/Quartz/Python/image.py. This would probably be the place to start writing an Automator action that did so.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: algal</title>
		<link>http://automatorworld.com/archives/images-to-pdfs/comment-page-1/#comment-11824</link>
		<dc:creator>algal</dc:creator>
		<pubDate>Mon, 21 Aug 2006 08:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.automatorworld.com/?p=91#comment-11824</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Preview.app already has the capacity to convert images into pdfs by doing a &quot;print to pdf&quot; of the image. Would it be possible to remove the dependency on fink&#039;s imagemagick by writing an app that just used Preview?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>Preview.app already has the capacity to convert images into pdfs by doing a &#8220;print to pdf&#8221; of the image. Would it be possible to remove the dependency on fink&#8217;s imagemagick by writing an app that just used Preview?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AAron</title>
		<link>http://automatorworld.com/archives/images-to-pdfs/comment-page-1/#comment-1716</link>
		<dc:creator>AAron</dc:creator>
		<pubDate>Fri, 06 Jan 2006 19:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.automatorworld.com/?p=91#comment-1716</guid>
		<description>&lt;p&gt;Matt,
I like the look of this workflow.
It looks like Fink doesn&#039;t want to install on my OSX Tiger.  In which case, how would I change the Run Applescript action to the Desktop, or somewhere.
Thanks,
AAron&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Matt,
I like the look of this workflow.
It looks like Fink doesn&#8217;t want to install on my OSX Tiger.  In which case, how would I change the Run Applescript action to the Desktop, or somewhere.
Thanks,
AAron</p>]]></content:encoded>
	</item>
	<item>
		<title>By: tanner</title>
		<link>http://automatorworld.com/archives/images-to-pdfs/comment-page-1/#comment-1470</link>
		<dc:creator>tanner</dc:creator>
		<pubDate>Fri, 02 Dec 2005 08:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.automatorworld.com/?p=91#comment-1470</guid>
		<description>&lt;p&gt;hello, thanks for the workflow.  i started changing the applescript as it would not handle filenames with spaces, and eventually just created a script to do the whole job.  here it is.&lt;/p&gt;

&lt;p&gt;tell application &quot;Finder&quot; to set the selected_pics to selection&lt;/p&gt;

&lt;p&gt;repeat with i from 1 to the count of selected&lt;em&gt;pics
    set pic&lt;/em&gt;item to (item i of selected&lt;em&gt;pics) as alias
    set in&lt;/em&gt;pic to POSIX path of pic&lt;em&gt;item
    set out&lt;/em&gt;pic to (removeExtension(in&lt;em&gt;pic)) &amp; &quot;.pdf&quot;
    do shell script &quot;/sw/bin/convert&quot; &amp; &quot; &quot; &amp; quoted form of in&lt;/em&gt;pic &amp; &quot; &quot; &amp; quoted form of out&lt;em&gt;pic
end repeat
return selected&lt;/em&gt;pics
end run&lt;/p&gt;

&lt;p&gt;-- remove extension&lt;/p&gt;

&lt;p&gt;on removeExtension(in&lt;em&gt;pic)
    set out&lt;/em&gt;pic to {}
    set AppleScript&#039;s text item delimiters to &quot;.&quot;
    return first text item of in_pic
end removeExtension&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hello, thanks for the workflow.  i started changing the applescript as it would not handle filenames with spaces, and eventually just created a script to do the whole job.  here it is.</p>

<p>tell application &#8220;Finder&#8221; to set the selected_pics to selection</p>

<p>repeat with i from 1 to the count of selected<em>pics
    set pic</em>item to (item i of selected<em>pics) as alias
    set in</em>pic to POSIX path of pic<em>item
    set out</em>pic to (removeExtension(in<em>pic)) &amp; &#8220;.pdf&#8221;
    do shell script &#8220;/sw/bin/convert&#8221; &amp; &#8221; &#8221; &amp; quoted form of in</em>pic &amp; &#8221; &#8221; &amp; quoted form of out<em>pic
end repeat
return selected</em>pics
end run</p>

<p>&#8211; remove extension</p>

<p>on removeExtension(in<em>pic)
    set out</em>pic to {}
    set AppleScript&#8217;s text item delimiters to &#8220;.&#8221;
    return first text item of in_pic
end removeExtension</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Moriarity</title>
		<link>http://automatorworld.com/archives/images-to-pdfs/comment-page-1/#comment-168</link>
		<dc:creator>Matt Moriarity</dc:creator>
		<pubDate>Sun, 05 Jun 2005 18:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.automatorworld.com/?p=91#comment-168</guid>
		<description>&lt;p&gt;Maarten: you need to have ImageMagick installed via Fink. If you install ImageMagick some other way, you need to change the path in the Run Applescript action.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Maarten: you need to have ImageMagick installed via Fink. If you install ImageMagick some other way, you need to change the path in the Run Applescript action.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten</title>
		<link>http://automatorworld.com/archives/images-to-pdfs/comment-page-1/#comment-151</link>
		<dc:creator>Maarten</dc:creator>
		<pubDate>Mon, 30 May 2005 16:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.automatorworld.com/?p=91#comment-151</guid>
		<description>&lt;p&gt;Hi James&lt;/p&gt;

&lt;p&gt;this workflow doesnt seem to be working for me.
i have ImageMagick installed.&lt;/p&gt;

&lt;p&gt;While running the apple script, i get an error saying it cannot find &#039;/sw/sbin/convert&#039;&lt;/p&gt;

&lt;p&gt;i have been trying to find the appropriate file on my mac, but it is nowhere on my system. i don&#039;t know what package this file is supposed to be part of.&lt;/p&gt;

&lt;p&gt;Any help/suggestion would be greatly appreciated.&lt;/p&gt;

&lt;p&gt;With best regards
Maarten&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi James</p>

<p>this workflow doesnt seem to be working for me.
i have ImageMagick installed.</p>

<p>While running the apple script, i get an error saying it cannot find &#8216;/sw/sbin/convert&#8217;</p>

<p>i have been trying to find the appropriate file on my mac, but it is nowhere on my system. i don&#8217;t know what package this file is supposed to be part of.</p>

<p>Any help/suggestion would be greatly appreciated.</p>

<p>With best regards
Maarten</p>]]></content:encoded>
	</item>
</channel>
</rss>

