Skip to content
/ farJS Public

Export your .psd photoshop design to a fixed aspect ratio, resizable, fit to screen HTML layout.

Notifications You must be signed in to change notification settings

geo8bit/farJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

farJS

f.a.r. stands for fixed aspect ratio.

With farJS you can export your .psd photoshop design to a:

  • fixed aspect ratio

  • resizable / fit to screen

HTML layout in just one click!

Run

You only need farExporter.jsx, since it already contains a minified version of far.js (the library that actually does the resizing) that will be exported to a separate file.

  1. Create your layout in Adobe Photoshop. Each layer will be exported to a separate .png file.

  2. Go to File -> Scripts -> Browse...

  3. Select farExporter.jsx

  4. You'll get a message when the script is done. The output will be saved in a new subfolder under the path where your .psd file is, named filename.psd-export.

Demo

Check a tiny demo of an example output here!

Dependencies

far.js uses jQuery to select the document's elements.

PS versions

Tested on Adobe Photoshop CS5.

TODO

Find a nice solution for text elements.

About

Export your .psd photoshop design to a fixed aspect ratio, resizable, fit to screen HTML layout.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published