<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>hubionmac.com &#187; image</title> <atom:link href="http://hubionmac.com/wordpress/tag/image/feed/" rel="self" type="application/rss+xml" /><link>http://hubionmac.com/wordpress</link> <description>script the unscriptable</description> <lastBuildDate>Fri, 03 Feb 2012 22:41:10 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Batch PNG Convert</title><link>http://hubionmac.com/wordpress/2011/07/batch-png-convert/</link> <comments>http://hubionmac.com/wordpress/2011/07/batch-png-convert/#comments</comments> <pubDate>Thu, 21 Jul 2011 06:45:16 +0000</pubDate> <dc:creator>hubi</dc:creator> <category><![CDATA[Nice2Know]]></category> <category><![CDATA[terminal]]></category> <category><![CDATA[batch convert]]></category> <category><![CDATA[image]]></category> <category><![CDATA[png]]></category> <category><![CDATA[psd]]></category> <category><![CDATA[sips]]></category><guid isPermaLink="false">http://hubionmac.com/wordpress/?p=2855</guid> <description><![CDATA[Sehr nützliches sips-Skript mkdir pngs; sips -s format png *.* --out pngs Einfach in einem Verzeichnis mit z.B. eine Menge PSD-Dateien ausführen und man bekommt recht schnell eine PNG-Version dieser Dateien.]]></description> <content:encoded><![CDATA[<p>Sehr nützliches sips-Skript<br /> <code>mkdir pngs; sips -s format png *.* --out pngs</code><br /> Einfach in einem Verzeichnis mit z.B. eine Menge PSD-Dateien ausführen und man bekommt recht schnell eine PNG-Version dieser Dateien.</p> ]]></content:encoded> <wfw:commentRss>http://hubionmac.com/wordpress/2011/07/batch-png-convert/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>AppleScript: Alternative zu ImageEvents</title><link>http://hubionmac.com/wordpress/2010/03/applescript-alternative-zu-imageevents/</link> <comments>http://hubionmac.com/wordpress/2010/03/applescript-alternative-zu-imageevents/#comments</comments> <pubDate>Thu, 11 Mar 2010 23:16:11 +0000</pubDate> <dc:creator>hubi</dc:creator> <category><![CDATA[scripting]]></category> <category><![CDATA[AppleScript]]></category> <category><![CDATA[convert]]></category> <category><![CDATA[image]]></category> <category><![CDATA[imageevents]]></category> <category><![CDATA[pdf]]></category> <category><![CDATA[sips]]></category><guid isPermaLink="false">http://hubionmac.com/wordpress/?p=1989</guid> <description><![CDATA[Anstatt die ImageEvents via AppleScript anzusteuern, kann man auch über ein Shell Script (das dürfte vielleicht schneller sein) auch sips (scriptable image processing system) aufrufen. Damit kann man sogar die Auflösung von Grafiken in PDFs verändern: sips -s format pdf -s dpiHeight 72 -s dpiWidth 72 -s formatOptions low /path/to/pdf.pdf --out /path/to/converted/pdf.pdf So ist z.B. [...]]]></description> <content:encoded><![CDATA[<p>Anstatt die ImageEvents via AppleScript anzusteuern, kann man auch über ein Shell Script (das dürfte vielleicht schneller sein) auch sips (scriptable image processing system) aufrufen. Damit kann man sogar die Auflösung von Grafiken in PDFs verändern:<br /> <code>sips -s format pdf -s dpiHeight 72 -s dpiWidth 72 -s formatOptions low /path/to/pdf.pdf --out /path/to/converted/pdf.pdf</code></p><p>So ist z.B. auch eine deutlich schlankere Version von <a href="http://hubionmac.com/wordpress/2008/11/bilder-klein-rechnen-mit-applescript/" target="_blank">diesem Skripte (Bilder klein rechnen mit AppleScript)</a> möglich:</p><div><div style="clear: left; font-size: 0.8em;"><em>Code zum markieren einmal anklicken <a href="#" onclick="selectThis(this.parentNode.parentNode.parentNode.getElementsByTagName('div')[1]);buildAppleScriptLink();">Code im Skript-Editor öffnen</a></em></div><div class="hubionmac_codebox" onclick="selectThis(this);"><p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana; color: #2d9600"><span style="color: #000000"><b>on</b> </span><span style="color: #3300ff"><b>open</b></span><span style="color: #000000"> </span>some_items</p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span class="Apple-tab-span" style="white-space:pre"> </span><b>tell</b> <b>me</b> <b>to</b> <span style="color: #3300ff"><b>activate</b></span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #2000c0"><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre"> </span></span><b>display dialog</b><span style="color: #000000"> &#8220;Längste Seite&#8221; </span>default answer<span style="color: #000000"> &#8220;1024&#8243;</span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span class="Apple-tab-span" style="white-space:pre"> </span><b>set</b> <span style="color: #2d9600">mh</span> <b>to</b> (<span style="color: #6400c0">text returned</span> <b>of</b> <b>the</b> <span style="color: #9200de">result</span>) <b>as</b> <span style="color: #3300ff"><i>integer</i></span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; min-height: 15.0px"><span class="Apple-tab-span" style="white-space:pre"> </span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #2d9600"><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre"> </span><b>repeat</b> <b>with</b> </span>this_item<span style="color: #000000"> <b>in</b> </span>some_items</p><p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; min-height: 15.0px"><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span></p><p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; color: #2d9600"><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span></span>rescale_and_save<span style="color: #000000">(</span>this_item<span style="color: #000000">, </span>mh<span style="color: #000000">)</span></p><p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; min-height: 15.0px"><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span class="Apple-tab-span" style="white-space:pre"> </span><b>end</b> <b>repeat</b></p><p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>end</b> <span style="color: #3300ff"><b>open</b></span></p><p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana; color: #2d9600"><span style="color: #000000"><b>to</b> </span>rescale_and_save<span style="color: #000000">(</span>this_item<span style="color: #000000">, </span>max_length<span style="color: #000000">)</span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #9200de"><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre"> </span><b>set</b> </span><span style="color: #2d9600">this_item</span><span style="color: #000000"> <b>to</b> </span>quoted form<span style="color: #000000"> <b>of</b> (</span>POSIX path<span style="color: #000000"> <b>of</b> </span><span style="color: #2d9600">this_item</span><span style="color: #000000">)</span></p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span class="Apple-tab-span" style="white-space:pre"> </span><b>set</b> <span style="color: #2d9600">scaled_dir_path</span> <b>to</b> (<span style="color: #2000c0"><b>do shell script</b></span> &#8220;dirname &#8221; &amp; <span style="color: #2d9600">this_item</span>) &amp; &#8220;/_scaled/&#8221;</p><p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span class="Apple-tab-span" style="white-space:pre"> </span><span style="color: #2000c0"><b>do shell script</b></span> &#8220;mkdir -p &#8216;&#8221; &amp; <span style="color: #2d9600">scaled_dir_path</span> &amp; &#8220;&#8216;;sips -Z &#8221; &amp; <span style="color: #2d9600">max_length</span> &amp; &#8221; &#8221; &amp; <span style="color: #2d9600">this_item</span> &amp; &#8221; &#8211;out &#8216;&#8221; &amp; <span style="color: #2d9600">scaled_dir_path</span> &amp; <span style="color: #9200de">quoted form</span> <b>of</b> (<span style="color: #2000c0"><b>do shell script</b></span> &#8220;basename &#8221; &amp; <span style="color: #2d9600">this_item</span>) &amp; &#8220;&#8216;&#8221;</p><p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana; color: #2d9600"><span style="color: #000000"><b>end</b> </span>rescale_and_save</p></div></div> ]]></content:encoded> <wfw:commentRss>http://hubionmac.com/wordpress/2010/03/applescript-alternative-zu-imageevents/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hubi&#8217;s HTML Gallerie</title><link>http://hubionmac.com/wordpress/2009/12/hubis-html-gallerie/</link> <comments>http://hubionmac.com/wordpress/2009/12/hubis-html-gallerie/#comments</comments> <pubDate>Sun, 13 Dec 2009 04:12:53 +0000</pubDate> <dc:creator>hubi</dc:creator> <category><![CDATA[ready2use]]></category> <category><![CDATA[Safari]]></category> <category><![CDATA[catalog]]></category> <category><![CDATA[html]]></category> <category><![CDATA[image]]></category> <category><![CDATA[katalog]]></category> <category><![CDATA[preview]]></category><guid isPermaLink="false">http://hubionmac.com/wordpress/?p=1760</guid> <description><![CDATA[Das Skript befindet sich zwar noch in der Entwicklung, aber &#8230;mal sehen, was noch kommt =) Was tut das Skript: Man wählt zunächst einzelne Bilder oder Ordner die Bilder (oder auch UnterOrdner) mit Bildern enthalten (Drag&#38;Drop auf das Skript)aus. Jeweils im Verzeichnis der Bilder wird eine _Gallery.html Datei mit Thumbnails der Bilder erzeugt. Das besondere [...]]]></description> <content:encoded><![CDATA[<div style="width: 45%; float: left; padding-right: 10pt; display: inline; text-align: justify;"><p>Das Skript befindet sich zwar noch in der Entwicklung, aber &#8230;mal sehen, was noch kommt =)</p><h3>Was tut das Skript:</h3><p>Man wählt zunächst einzelne Bilder oder Ordner die Bilder (oder auch UnterOrdner) mit Bildern enthalten (Drag&amp;Drop auf das Skript)aus. Jeweils im Verzeichnis der Bilder wird eine _Gallery.html Datei mit Thumbnails der Bilder erzeugt. Das besondere daran ist:</p><li><ol> dass die Thumbnails als Inline-Grafik in der html-Datei gespeichert sind, und so keine Datei-Wirrwar entsteht.</ol><ol>Zudem werden beim &#8220;rüberfahren&#8221; mit der Maus (kein JavaScript sonder pures CSS) noch Infos wie Dateiname, Größe und Auflösung angezeigt&#8230;</ol><ol> und dann wird das ganze auch noch nicht in einer Tabelle, sondern in einem div-Konstrukt angezeigt, und passt sich somit von &#8220;Natur aus&#8221; dynamisch an die Größe des Browser-Fenster an =)</ol></li><ol> Beim Aufruf über einen Server verringern sich die einzelnen Verbindungen, es wird einfach eine HTML-Datei geladen, nicht eine HTML-Datei + x-Thumnail-Dateien&#8212;- &gt; Unterm Strich müsste es schneller laufen</ol></div><div style="width: 45%; float: left; padding-right: 10pt; display: inline; text-align: justify;"><h3>Beispiel-HTML-Gallerie</h3><p>(Nur die Thumbnails, ohne Verlinkung zu den Originalen&#8230;)<br /> <a href="http://hubionmac.com/wordpress/wp-content/uploads/2008/12/_gallery.html" target="_blank">_gallery</a></p><h3>Download</h3><p><u>(Version 1.1)</u><br /> <strong>17.12.2008</strong> &#8211; Jetzt kann das Skript auch PDFs in der Galerie Darstellen, immer die 1. Seite und in der Info wird auch die Anzahl der Seite angegeben =)<br /> <a class="download_button" href="http://hubionmac.com/wordpress/wp-content/plugins/download-monitor/download.php?id=18" title="Download: Hubi's HTML Gallerie v.1.1"><span class="title">DOWNLOAD</span><br /><span class="name">Hubi's HTML Gallerie v.1.1</span><br /> <span class="info">40.49 KB (201 hits)</span></a><br /> <u>(Version 1.0)</u><br /> <a class="download_button" href="http://hubionmac.com/wordpress/wp-content/plugins/download-monitor/download.php?id=17" title="Download: Hubi's HTML Gallerie v.1.0"><span class="title">DOWNLOAD</span><br /><span class="name">Hubi's HTML Gallerie v.1.0</span><br /> <span class="info">37.11 KB (172 hits)</span></a></div><div style="clear: both;"></div><div style="clear: both;"></div> ]]></content:encoded> <wfw:commentRss>http://hubionmac.com/wordpress/2009/12/hubis-html-gallerie/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 7/26 queries in 0.100 seconds using disk: basic
Object Caching 170/342 objects using disk: basic

Served from: hubionmac.com @ 2012-02-11 08:20:58 -->
