<?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>Blog &#124; Jesse Chen &#187; content aware</title>
	<atom:link href="http://www.jessechen.net/blog/tag/content-aware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jessechen.net/blog</link>
	<description>on Mobile, Technology and Entrepreneurship</description>
	<lastBuildDate>Thu, 04 Apr 2013 06:20:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Freeing Your Online Graduation Pictures</title>
		<link>http://www.jessechen.net/blog/freeing-your-online-graduation-pictures/</link>
		<comments>http://www.jessechen.net/blog/freeing-your-online-graduation-pictures/#comments</comments>
		<pubDate>Thu, 24 May 2012 20:21:53 +0000</pubDate>
		<dc:creator>Jesse Chen</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[content aware]]></category>
		<category><![CDATA[creepy bear]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[graduation]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[proofs]]></category>
		<category><![CDATA[right click]]></category>
		<category><![CDATA[uc berkeley]]></category>
		<category><![CDATA[web developer tools]]></category>
		<category><![CDATA[zoomhandler]]></category>

		<guid isPermaLink="false">http://www.jessechen.net/blog/?p=212</guid>
		<description><![CDATA[<img width="120" height="120" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/stock-photo-handsome-young-african-american-man-holding-graduation-diploma-33875587-120x120.jpg" class="attachment-index-categories wp-post-image" alt="stock-photo-handsome-young-african-american-man-holding-graduation-diploma-33875587" />This is a tutorial created by Jesse Chen and guest contributor Jonathan Tien.  Jonathan is a Product Manager at Glassdoor.com and a recent Cal grad, where he got his degree in Computer Science. Free pictures?  What? Congrats new grad.  Now that graduation is over, photo proofs have been sent to you online for you to [...]]]></description>
	<img width="120" height="120" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/stock-photo-handsome-young-african-american-man-holding-graduation-diploma-33875587-120x120.jpg" class="attachment-index-categories wp-post-image" alt="stock-photo-handsome-young-african-american-man-holding-graduation-diploma-33875587" />			<content:encoded><![CDATA[<p><em>This is a tutorial created by Jesse Chen and guest contributor <a href="http://www.ocf.berkeley.edu/~jotien/portfolio/">Jonathan Tien</a>.  Jonathan is a Product Manager at Glassdoor.com and a recent Cal grad, where he got his degree in Computer Science.</em></p>
<h3>Free pictures?  What?</h3>
<p>Congrats new grad.  Now that graduation is over, photo proofs have been sent to you online for you to view.  The only problem is, you can&#8217;t seem to save those pictures!  Right clicking on the website seems to be disabled and you really want to see and share the images without that ugly copyright overlay or the proof watermark right in the middle of the picture.  Don&#8217;t worry.  In this article, my buddy Jonathan Tien and I partnered up to teach you how to grab the image off the website, and use Photoshop to remove the proof watermark from the image.</p>
<p><span id="more-212"></span></p>
<h3>Getting the image</h3>
<p>For UC Berkeley graduates, find your photos <a href="http://www2.gradimages.com/">here</a>.  Find your name on the list, and you should arrive on a page that <a href="http://www2.gradimages.com/Proofs?PIN=17823395&amp;LastName=CHEN">looks like this</a>:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1820.png" rel="lightbox[212]" title="grad images jesse chen"><img class="wp-image-214 aligncenter" title="grad images jesse chen" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1820-1024x789.png" alt="" width="614" height="473" /></a></p>
<p>Now, lets choose an image that we want to grab.  I really like the picture with the creepy bear standing in the background, so lets get that one.  Click on that image, and you should be <a href="http://www2.gradimages.com/Catalog/List/26814975?PIN=17823395&amp;LastName=CHEN">directed to this page</a>.  Click the &#8220;View Larger&#8221; link on the left sidebar to see a bigger image.  Good, now it should look like this:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1826.png" rel="lightbox[212]" title="jesse chen creepy bear"><img class="wp-image-215 aligncenter" title="jesse chen creepy bear" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1826-1024x848.png" alt="" width="614" height="509" /></a></p>
<p>Now, the hardest part.  What browser are you using?  Depending on your browser, we&#8217;ll have to do different things.  Chrome, Firefox, Internet Explorer?  Pick your poison.</p>
<h4>Chrome</h4>
<p>Press &#8220;CTRL  + SHIFT + i&#8221; to launch the WebKit Developer Tools.  If that doesn&#8217;t work, go to the wrench icon on the top right, then Tools &gt; Developer Tools.  If you see something like this, you&#8217;re doing it right.<span style="text-align: center;"> </span></p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1834.png" rel="lightbox[212]" title="jesse chen creepy bear with webkit developer tools"><img class="wp-image-217 alignnone" title="jesse chen creepy bear with webkit developer tools" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1834-1024x845.png" alt="" width="614" height="507" /></a></p>
<p style="text-align: left;">Make sure you&#8217;re on the &#8220;Resources&#8221; tab.  Expand the folder under &#8220;Frames&#8221;.  In the picture above, that&#8217;d be the &#8220;(26814975)&#8221; folder.  Find the &#8220;ZoomHandler.ashx&#8221; file and double click it to open the image in a new tab.  Or right click the image to open it in a new tab.</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1839.png" rel="lightbox[212]" title="jesse chen zoomhandler.ashx"><img class="wp-image-218 aligncenter" title="jesse chen zoomhandler.ashx" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1839-1024x807.png" alt="" width="614" height="484" /></a></p>
<p style="text-align: left;">From here, right click and &#8220;Save image as&#8230;&#8221; onto your computer.</p>
<h4 style="text-align: left;">Firefox</h4>
<p>Cool.  Press &#8220;CTRL + SHIFT + i&#8221; or go to the menu and Web Developer &gt; Inspect.  Move your mouse so that its over the large image in the middle.  The little bubble should say &#8220;div.OverlayZoom&#8221;.  Now click on the second-to-the-right button so that the popup says div.Zoom.Vertical.  Click the &#8220;Style&#8221; button on the bottom right and click the background-image property.  Copy and paste the URL, make sure to get the whole thing!  It should start with &#8220;www2&#8243; and should not have any quotes or apostrophes at the end of the URL.</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1853.png" rel="lightbox[212]" title="jesse chen creepy bear firefox developer tools"><img class="wp-image-219 aligncenter" title="jesse chen creepy bear firefox developer tools" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1853-1024x751.png" alt="" width="614" height="451" /></a></p>
<p>Open the URL in a new tab, and &#8220;Save image as&#8230;&#8221; onto your computer.</p>
<h4>Internet Explorer</h4>
<p>Oh dear.  This is for Internet Explorer 8, instructions might vary for other versions of IE.  Press &#8220;F12&#8243;, or go to Tools &gt; Developer Tools.  A new window should pop up.  Type &#8220;zoomhandler&#8221; into the search bar, and grab the URL under the background-image property.</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1911.png" rel="lightbox[212]" title="internet explorer good god"><img class="wp-image-220 aligncenter" title="internet explorer good god" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2012-05-23_1911.png" alt="" width="608" height="454" /></a></p>
<p>Open the URL in a new tab, and &#8220;Save image as&#8230;&#8221; onto your computer.</p>
<h3>Photoshop Magic Time</h3>
<p>Once the image has been saved onto your computer, its time to use Photoshop to remove the watermark from the image.  Also, did you know <a href="http://ist.berkeley.edu/software-central/adobe">all UC Berkeley students get Photoshop for free</a>?  Jon will take it from here.</p>
<hr />
<p>Now we have our picture. The only problem is the giant yellow text splayed across it. To get rid of it, we’ll have to use some Photoshop tricks, namely content-aware fill. (Note: this tutorial heavily relies on the use of content-aware fill, which is only available in Photoshop CS5. If you have an older version you’ll have to use an alternate method to remove the yellow text).</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/1.jpg" rel="lightbox[212]" title="jesse chen creepy bear starting point"><img class="aligncenter  wp-image-222" title="jesse chen creepy bear starting point" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/1-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 1: starting point)</em></p>
<p style="text-align: left;">The first thing we want to do is select the area the text covers. You could potentially do this using the magic wand tool, maybe the quick select tool, or even the lasso tool. But its actually easiest to just overlay identically formatted text and use that as a mask. We’ve gone ahead and done the troublesome part for you and figured out the formatting for you.</p>
<p>The font is Helvetica, but Arial works fine too (the two are nearly identical). “PROOF” is ~100pt and “GradImages” is ~65pt, bolded. Both lines are rotated exactly -30 degrees (to do the rotation, access the text layer’s transform tools, and then type in the value manually. If this is all Greek to you, Google is your friend &#8211; there are a lot of very helpful Photoshop tutorials out there).</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2.jpg" rel="lightbox[212]" title="jesse chen creepy bear photoshop"><img class="aligncenter  wp-image-223" title="jesse chen creepy bear photoshop" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/2-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 2: rotate both layers -30 degrees &#8212; see highlighted field in the toolbar)</em></p>
<p style="text-align: left;">After aligning the text layers, you should eventually end up with something like this:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/3.jpg" rel="lightbox[212]" title="jesse chen creepy bear photoshop remove watermark"><img class="aligncenter  wp-image-224" title="jesse chen creepy bear photoshop remove watermark" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/3-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 3: not perfect, but overlaps well enough for our purposes)</em></p>
<p style="text-align: left;">Now we want to rasterize these two layers and select them (so that we can select the yellow text underneath). Select the two layers (hold SHIFT and click both of them) and then hit CTRL+E to merge and rasterize them (alternately, you can go to the Layer menu and select the “Merge Down”). You should end up with something like this:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/5-1.jpg" rel="lightbox[212]" title="jesse chen creepy bear rasterize"><img class="aligncenter  wp-image-225" title="jesse chen creepy bear rasterize" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/5-1-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 5: in the layers panel, there is now only one, rasterized layer)</em></p>
<p>Now we can easily use the magic wand tool to select this text, then hide that layer and apply the selection to the original image’s yellow text. (to make your life easier, de-select “contiguous” in your magic wand’s options to select all the black text at once).</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/6.jpg" rel="lightbox[212]" title="jesse chen creepy bear almost done"><img class="aligncenter  wp-image-226" title="jesse chen creepy bear almost done" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/6-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 6: selecting our rasterized text using a non-contiguous magic wand)</em></p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/7.jpg" rel="lightbox[212]" title="jesse chen creepy bear photoshop almost done"><img class="aligncenter  wp-image-227" title="jesse chen creepy bear photoshop almost done" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/7-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 7: hiding or moving our black text allows us to apply the selection shape to the original image!)</em></p>
<p style="text-align: left;">Now we want to use the “Refine Edge” tool to adjust our selection shape a bit (remember, we didnt exactly get a perfect fit on the text overlay). At this point, you’ll just have to experiment a bit to get the results you want. You can also use the “Grow&#8230;” command from the “Select” menu. Either way, your goal is to surround the entire yellow text so that you don’t end up with any yellow edges.</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/8.jpg" rel="lightbox[212]" title="proof gradimages"><img class="aligncenter  wp-image-228" title="proof gradimages" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/8-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 8: tweak your selection using “refine edge” or “grow.” As you can see, you want to select a little outside the yellow text, so there’s a dark border around the yellow)</em></p>
<p style="text-align: left;">Once you’re comfortable with your selection, go to Edit &gt; Fill&#8230; (or hit SHIFT+F5) to use content aware fill on your selection. We ended up with something like this:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/10.jpg" rel="lightbox[212]" title="jesse chen post processing"><img class="aligncenter  wp-image-229" title="jesse chen post processing" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/10-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 10: not perfect, but not bad for free and 5 minutes of work!)</em></p>
<p style="text-align: left;">From this point on, its all manual clean up &#8211; and its up to you how much you want to do. I still had some yellow edges left over, so I just quickly cleaned them up using the spot healing brush tool.</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/11.jpg" rel="lightbox[212]" title="jesse chen photoshop cleanup"><img class="aligncenter  wp-image-230" title="jesse chen photoshop cleanup" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/11-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>You can also use the regular healing brush to clean up trickier areas, such as Jesse’s collar here. </em></p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/12.jpg" rel="lightbox[212]" title="jesse chen collar cleanup"><img class="aligncenter  wp-image-231" title="jesse chen collar cleanup" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/12-1024x640.jpg" alt="" width="614" height="384" /></a></p>
<p style="text-align: center;"><em>(fig. 12: I used a combination of the Dodge tool and the Healing brush to redraw Jesse’s collar)</em></p>
<p style="text-align: left;">Here’s the finished image:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/jesse.jpg" rel="lightbox[212]" title="jesse chen finished"><img class="aligncenter  wp-image-232" title="jesse chen finished" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/jesse.jpg" alt="" width="250" height="372" /></a></p>
<p style="text-align: left;">Of course, it’ll never stand up to close scrutiny, but it’ll pass if you need something quick and dirty. And of course, you can always make things less obvious by applying filters (Instagram, anyone?) or blurring the a duplicate layer and performing an overlay, adjusting brightness/contrast, etc.:</p>
<p style="text-align: center;"><a href="http://www.jessechen.net/blog/wp-content/uploads/2012/05/overlaid.jpg" rel="lightbox[212]" title="jesse chen filtered"><img class="aligncenter  wp-image-233" title="jesse chen filtered" src="http://www.jessechen.net/blog/wp-content/uploads/2012/05/overlaid.jpg" alt="" width="250" height="372" /></a></p>
<h3 style="text-align: left;">Pwned</h3>
<p>We went from a picture that was covered in an ugly copyright overlay and a disgusting yellow proof watermark, to a beautiful and majestic picture that is clean and polished.  No need to &#8220;print screen&#8221; or take a picture of the monitor in order to share with your family.  We hope that this tutorial helps you by freeing your graduation pictures so that you can take back what&#8217;s yours to begin with. Now if you&#8217;ll excuse me, its time to slide back into the comfy warmth of the creepy bear&#8217;s embrace.</p>
<p>Let us know if this tutorial was useful and any comments or questions below!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jessechen.net/blog/freeing-your-online-graduation-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
