<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Server-side image merge?</title>
	<link>http://ask.metafilter.com/84230/Serverside-image-merge/</link>
	<description>Comments on Ask MetaFilter post Server-side image merge?</description>
	<pubDate>Thu, 21 Feb 2008 17:10:25 -0800</pubDate>
	<lastBuildDate>Thu, 21 Feb 2008 17:10:25 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Server-side image merge?</title>
		<link>http://ask.metafilter.com/84230/Serverside-image-merge</link>	
		<description>What are my options for including an auto-merged image file in the context of a website? &lt;br /&gt;&lt;br /&gt; Here&apos;s a quick description of the functionality I&apos;m after:&lt;br&gt;
&lt;br&gt;
A generic page layout which incorporates some corporate branding is assembled. The layout is then deployed over several domains and subdomains.&lt;br&gt;
&lt;br&gt;
The key branding element is a corporate logo in the upper right and is used as a &apos;home&apos; navigation element, just as Matt uses the Metafilter logos on these sites.&lt;br&gt;
&lt;br&gt;
The logo, however, should render on demand and then remain as a server-side cached element, and the rendering should add either the fully-qualified domain for the specific site - or - a titling element which can be defined by an administrator.&lt;br&gt;
&lt;br&gt;
In summary, the textual elements should be &apos;stamped&apos; onto the logo image. Ideally the textual elements would appear to be a part of the design of the logo and adhere to professional type-design-and-display standards with arbitrary font definition,  reasonable kerning, antialiasing, consistent baseline control, and so forth.&lt;br&gt;
&lt;br&gt;
Flash-based solutions are acceptable, probably. Server-side solutions that rely on roll-your-own code to call ImageMagick are probably out; an off-the-shelf script that uses ImageMagick might be acceptable (I will need to verify that ImageMagick is available within the hosted environment). Java-based and Quicktime solutions are not acceptable.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.84230</guid>
		<pubDate>Thu, 21 Feb 2008 12:26:43 -0800</pubDate>
		<dc:creator>mwhybark</dc:creator>
		
			<category>server-side</category>
		
			<category>image</category>
		
			<category>processing</category>
		
			<category>graphics</category>
		
			<category>gif</category>
		
			<category>jpg</category>
		
			<category>flash</category>
		
			<category>image-merge</category>
		
			<category>merging</category>
		
			<category>photoshop</category>
		
	</item> <item>
		<title>By: bumper314</title>
		<link>http://ask.metafilter.com/84230/Serverside-image-merge#1247090</link>	
		<description>Even though you say &quot;roll-your-own code to call ImageMagick are probably out&quot;, here&apos;s are the calls to do that anyway, just incase anyone else is interested...&lt;br&gt;
&lt;br&gt;
Let&apos;s say you three images: base.png, text.png, and border.png.  You want to place these on top of each other to produce one image as the logo.  Here are the ImageMagick commands to do this:&lt;br&gt;
&lt;br&gt;
composite -dissolve 100 base.png text.png -matte temp.png&lt;br&gt;
composite -dissolve 100 temp.png border.png -matte logo.png&lt;br&gt;
&lt;br&gt;
(There is probably a way to do these two operations in one command, but this is the path of least resistance).&lt;br&gt;
&lt;br&gt;
You could have ImageMagic produce the text for you, but it&apos;s not very pretty (although I&apos;m sure you could tweak it):&lt;br&gt;
convert -background black -fill white label:&quot;Your Text Here&quot; text.png&lt;br&gt;
Then use the composite commands above as usual...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.84230-1247090</guid>
		<pubDate>Thu, 21 Feb 2008 17:10:25 -0800</pubDate>
		<dc:creator>bumper314</dc:creator>
	</item>
	</channel>
</rss>
