{"id":3393,"date":"2021-05-25T10:43:17","date_gmt":"2021-05-25T01:43:17","guid":{"rendered":"https:\/\/blog.criware.com\/?p=3393"},"modified":"2021-06-04T21:03:34","modified_gmt":"2021-06-04T12:03:34","slug":"photoshop-to-spritestudio","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2021\/05\/25\/photoshop-to-spritestudio\/","title":{"rendered":"Photoshop to SpriteStudio"},"content":{"rendered":"<p>Many graphic artists are using Adobe Photoshop and Illustrator to design the elements of their animations.<\/p>\n<p>In part 2 of our series introducing SpriteStudio, we saw how to import graphic assets from PSD files into the tool, create cell maps and define animation cells.<\/p>\n<p>In this blog, we introduce a little-known utility called &#8220;PSDtoSS6&#8221;. This tiny tool significantly shortens the path from the design of assets in Photoshop to the definition of animation cells in SpriteStudio, and drastically reduces iteration times!<\/p>\n<p><\/p>\n<p>\nYou can find PSDtoSS6 on Github:<br \/>\n<a href=\"https:\/\/github.com\/SpriteStudio\/PSDtoSS6\/releases\/tag\/v.2.4.0rc1\">https:\/\/github.com\/SpriteStudio\/PSDtoSS6\/releases\/tag\/v.2.4.0rc1<\/a>\n<\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Workflow<\/h2>\n<p>First, it is important to notice that there are 2 possible workflows, depending on whether your graphic file contains data for Photoshop specific features (such as filter, style, layer etc\u2026).<\/p>\n<p>If that\u2019s the case, the workflow is like below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"width: 780px;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_1-1.png\" alt=\"PSDtoSS6_1\" width=\"944\" height=\"165\" class=\"alignnone size-full wp-image-3414\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_1-1.png 944w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_1-1-300x52.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_1-1-768x134.png 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/p>\n<p>If you are not using photoshop filters etc\u2026, the workflow is like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"width: 500px;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_2-1.png\" alt=\"PSDtoSS6_2\" width=\"572\" height=\"165\" class=\"alignnone size-full wp-image-3415\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_2-1.png 572w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_2-1-300x87.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/p>\n<p>In this blog, we will check to the first workflow, as the second one is essentially a simplified version of it.<\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Using the export script<\/h2>\n<p>Let\u2019s say that our Photoshop file contains 5 parts, each on its own layer. You will recognize graphical elements of the little witch from our tutorials.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_3.jpg\" alt=\"PSDtoSS6_3\" width=\"813\" height=\"541\" class=\"alignnone size-full wp-image-3397\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_3.jpg 813w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_3-300x200.jpg 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_3-768x511.jpg 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/p>\n<p>In Photoshop, go in the [file] menu, select [script] and execute the &#8220;PSDtoSS6_Export.jsx&#8221; script. (This script is part of the tools.zip package on GitHub).<\/p>\n<p>Once the script executed, new files will have been generated in the folder where your PSD file is located. They include one PNG file for each layer, and an intermediate file with the extension .ss6-psdtoss6-info.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"width: 650px;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_4.jpg\" alt=\"PSDtoSS6_4\" width=\"647\" height=\"145\" class=\"alignnone size-full wp-image-3398\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_4.jpg 647w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_4-300x67.jpg 300w\" sizes=\"auto, (max-width: 647px) 100vw, 647px\" \/><\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Converting files with PSDtoSS6<\/h2>\n<p>It is now time to launch the PSDtoSS6 tool. Simply drag and drop the intermediate file (.ss6-psdtoss6-info) and press the convert button. Although there are many other options, you can convert your graphic files with just these 2 steps!<\/p>\n<p>(As a reminder, if you are not using Photoshop filters etc\u2026, that\u2019s all you need to do!)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"width: 700px;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/4.png\" alt=\"PSDtoSS6_4\" width=\"1035\" height=\"705\" class=\"alignnone size-full wp-image-3399\" \/><\/p>\n<p>Once the conversion is over, a sprite sheet in .PNG format &#8211; with all its elements packed without any margins &#8211; has been created, as well as a .ssce cell map that you can open in SpriteStudio.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_5.png\" alt=\"PSDtoSS6_5\" width=\"190\" height=\"122\" class=\"alignnone size-full wp-image-3400\" \/><\/p>\n<p>If you add this cell map file to your project, you will see that all the cells have already been cut out automatically and appear in the Cell list, which is a huge time saver!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"width:700px; margin-bottom:10px;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_6.jpg\" alt=\"PSDtoSS6_6\" width=\"1920\" height=\"996\" class=\"alignnone size-full wp-image-3401\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_6.jpg 1920w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_6-300x156.jpg 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_6-768x398.jpg 768w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/05\/PSDtoSS6_6-1024x531.jpg 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Benefits of using PSDtoSS6<\/h2>\n<p>To recapitulate, PSDtoSS6 allows you to:<\/p>\n<ul>\n<li>\n<p>Significantly shorten the workflow from asset creation to cells registration.<\/li>\n<li>\n<p>Optimize the size of the cell map (i.e., the .ssce file), by generating a file where the graphic parts are packed together without any margins.<\/li>\n<li>\n<p>Drastically reduce iteration times: should you need to modify your assets in Photoshop, it will only take a couple of clicks to update them in SpriteStudio.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Many graphic artists are using Adobe Photoshop and Illustrator to design the elements of their animations. In part 2 of<\/p>\n","protected":false},"author":2,"featured_media":3394,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[13,7],"tags":[],"class_list":["post-3393","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sprite-studio","category-tutorials"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/comments?post=3393"}],"version-history":[{"count":13,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3393\/revisions"}],"predecessor-version":[{"id":3413,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3393\/revisions\/3413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/3394"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=3393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=3393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=3393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}