Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Python and JSTalk script for acorn to add device frames to iPhone and iPad

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 resources
Octocat-spinner-32 screenshots
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 framer.jstalk
Octocat-spinner-32 framer.py
README.md

Framer

It's life-changing!

Description

For a detailed description of the creation and purpose of Framer, see my blog post.

GitEgo - GitHub Stats for Framer

Required Downloads

Acorn

You'll need Acorn to run this script. It's worth every penny. Seriously, buy it right now.

JSTalk

JSTalk is required to automate Acorn. You can download it from the JSTalk website.

Note: Be sure that the jstalk application is in your path. I put mine in /usr/local/bin/

Usage

python framer.py DIRECTORY

This will parse all of the .png images in the directory you pass and frame them. The framed images will be placed in an output folder titled framed (if it doesn't exist it will be created).

Apple Resources Note

Make sure you go to the Apple marketing site and complete the App Marketing License Agreement.

Special Thanks To

Max Di Capua - iPad 2 PSD

teehan+lax - iPhone 4 PSD

Bugs

Quality can not be scripted for web export currently. Instead the quality will be set to whatever the quality was last set to in Acorn. Open Web Export in Acorn through File -> Web Export to change your quality settings. The creator of Acorn is aware of this and has notified me it will be fixed in Acorn 3.0.1.

License

The MIT License

Copyright (c) 2011 Jeremy Mack, Pile of Turtles, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.