# Create App Store and iPhone icon lookalikes with RMagick

**URL:** <https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230>\
**Category:** Ruby\
**Created:** [March 7, 2009, 2:07am UTC](https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230 "2009-03-07T02:07:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/71e660/32.png) [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Post date:** [March 7, 2009, 2:07am UTC](https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230/1 "2009-03-07T02:07:02Z")

</div>

I’ve written a Ruby script that takes a 512x512 image and produces icons  
that look very similar to the icons used on the App Store and the  
iPhone. The script demonstrates how to use RMagick to add the “shine”,  
the rounded corners, and the reflection under the App Store image.

I had planned to use the script as the basis of a tutorial on the  
RMagick home page, but it doesn’t look like I’m going to have time to do  
that for the foreseeable future. Instead, I’ve zipped up the script and  
attached it to a Support Request track on RubyForge. If you’re  
interested, go to  
[http://rubyforge.org/tracker/index.php?func=detail&aid=24366&group\_id=12&atid=134l](http://rubyforge.org/tracker/index.php?func=detail&aid=24366&group_id=12&atid=134l),  
scroll down to the bottom of the page and click the Download link for  
shine.zip.

In lieu of a full-blown tutorial I’ve added comments to the script that  
explain what it does. Please feel free to ask questions or post comments  
here as follow-ups to this post, on the open-discussion forum at  
RubyForge ([http://rubyforge.org/forum/?group\_id=12](http://rubyforge.org/forum/?group_id=12)), or send them  
directly to me at rmagick AT rubyforge DOT org.

Enjoy!

iPhone, App Store, and Apple are trademarks of of Apple Inc.,  
registered in the U.S. and other countries.

---

<div class="post-metadata">

**Author:** ![timhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/71e660/32.png) [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Post date:** [March 7, 2009, 3:25am UTC](https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230/2 "2009-03-07T03:25:28Z")

</div>

On Fri, Mar 6, 2009 at 8:04 PM, Tim H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve written a Ruby script that takes a 512x512 image and produces icons  
> that look very similar to the icons used on the App Store and the iPhone.  
> The script demonstrates how to use RMagick to add the “shine”, the rounded  
> corners, and the reflection under the App Store image.

Very, very cool…

Thanks!  
John

---

<div class="post-metadata">

**Author:** ![timhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/71e660/32.png) [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Post date:** [March 7, 2009, 4:07am UTC](https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230/3 "2009-03-07T04:07:37Z")

</div>

Tim H. wrote:

> [http://rubyforge.org/tracker/index.php?func=detail&aid=24366&group\_id=12&atid=134l](http://rubyforge.org/tracker/index.php?func=detail&aid=24366&group_id=12&atid=134l)

.chomp(“l”) ==

[http://rubyforge.org/tracker/index.php?func=detail&aid=24366&group\_id=12&atid=134](http://rubyforge.org/tracker/index.php?func=detail&aid=24366&group_id=12&atid=134)

#:)
