<?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>Eric Hauser's Blog &#187; Flash</title>
	<atom:link href="http://erichauser.net/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://erichauser.net</link>
	<description>J2EE, .NET, and general technology</description>
	<lastBuildDate>Fri, 23 Apr 2010 05:00:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash, PMS, CMYK Solutions (Part 2)</title>
		<link>http://erichauser.net/2007/04/22/flash-pms-cmyk-solutions-part-2/</link>
		<comments>http://erichauser.net/2007/04/22/flash-pms-cmyk-solutions-part-2/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 03:20:10 +0000</pubDate>
		<dc:creator>ehauser</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.hausertechnologies.com/wordpress/?p=13</guid>
		<description><![CDATA[In my previous entry, I talked a little about a solution I was working on for a fictional client.  After doing some more research and prototyping, I came up with an architecture that I think will work for my application.  The main issue I was trying to address was allowing a user to [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous entry, I talked a little about a solution I was working on for a fictional client.  After doing some more research and prototyping, I came up with an architecture that I think will work for my application.  The main issue I was trying to address was allowing a user to alter an image on a web page for print, but being able to render that image server side using CMYK colors.<br />
<br/><br />
It seems to be fairly trivial to send data back to the server using Flex.  There are a few options including the <a href="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge">Flex-Ajax Bridge</a> or using<br />
<href="http://www.adobe.com/devnet/topics/web_services.html">web services</a>.  Depending on how complex our graphics end our getting, I do not believe that their will be that much data to transmit back to the server, so using JSON along with the Flex-Ajax bridge will probably suit our needs.  The client side will render the images using Flash/Flex and send the data back to the server.  The data will probably end up containing data on which color the user choose, any effects they want to apply, custom text, etc.<br />
<br/><br />
Once we have received that data, I am going to use the <a href="http://java.sun.com/docs/books/tutorial/2d/index.html">Java 2D Graphics</a> library to manipulate my images.  The trail on the graphics package gives a good description on the types of things I will need to do with the library (fills, draws, gradient paints, etc).  I have used iText in the past to render PDFs, and it supports the CMYK JPEG images I will be creating (my printer needs PDFs).</p>
]]></content:encoded>
			<wfw:commentRss>http://erichauser.net/2007/04/22/flash-pms-cmyk-solutions-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash, PMS, CMYK Solutions</title>
		<link>http://erichauser.net/2007/04/18/flash-pms-cmyk-solutions/</link>
		<comments>http://erichauser.net/2007/04/18/flash-pms-cmyk-solutions/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 04:03:15 +0000</pubDate>
		<dc:creator>ehauser</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.hausertechnologies.com/wordpress/?p=8</guid>
		<description><![CDATA[I have been researching a solution for a job that has required me to learn some stuff about Flash and CMYK.  To set the stage, assume I am working for a fictional client who wants to let users design custom decals for their computers on the web.  They can edit the text, the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been researching a solution for a job that has required me to learn some stuff about Flash and CMYK.  To set the stage, assume I am working for a fictional client who wants to let users design custom decals for their computers on the web.  They can edit the text, the font, some minor effects, and the colors used in the decal &#8212; but in general the graphic templates for the decals are already set.  Also, a few of these computer users are very particular about matching thier decal colors up with the colors of their computer case.  These users want to be able to provide a PMS number for the color of their decal.  Flash is the obvious choice for the decal design control for the web site, but I was not sure what limitations there would be around using Flash with PMS.  Also, I was not sure if the solution would just require using Flash or if it would require the use of Flex as well.<br />
<br/><br />
I found an article on implementing Nike iD that was given in a JavaOne presentation.  They do something similar to what I want to do where the user&#8217;s selections are passed back to the server and persisted.  There was some commentary at the end how they suggested using Flex, but I did not see a lot of information on why.  I was aware of a Flash / Javascript bridge, so I figured I could use JSON to send data back to the server if there was no easier way.  Since my project is just in research phase at this point, I decided to move on.<br />
<br/><br />
ithout having any domain knowledge on the differences between RGP and CMYK, my first assumption was tha Flash would have no trouble supporting a PMS number defined by the user since I was certain Flash supported any RGB color.  Flash does support RGB colors and there were a number of RGP color pickers components that I found while searching.  What I found was that RGB does not necessary translate to CMYK and vice versa.  This presented two issues for my solution 1) How would I let the user know why what they were seeing on their screen might be different than the PMS number they just entered? 2) How do I generate a PDF image to send to the printer using the right colors? (the printer expects a PDF using CMYK colors).  I was not concerned about the first issue because it could be solved with good FAQs and help text in the application.  I am still researching possible solutions for the 2 issue which I will post a follow up on.<br />
<br/><br />
<strong>Recommended Reading</strong></p>
<ul>
<li><a href="http://nikeid.nike.com/">Nike iD</a></li>
<li><a href="http://developers.sun.com/learning/javaoneonline/2006/coolstuff/TS-9123.html">How Nike iD Hurdled the Java Technology and Flash Barrier : TS-9123, 2006</a></li>
<li><a href="http://en.wikipedia.org/wiki/Pantone">Pantone and PMS</a></li>
<li><a href="http://en.wikipedia.org/wiki/CMYK_color_model">CMYK color model</a></li>
<li><a href="http://photography.about.com/library/weekly/aa031703c.htm">Info on Photoshop and CMYK</a>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://erichauser.net/2007/04/18/flash-pms-cmyk-solutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

