{"id":158131,"date":"2012-11-10T15:04:03","date_gmt":"2012-11-10T11:04:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=158131"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=158131","title":{"rendered":"<span class=\"post_title\">\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430 \u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443. \u0421\u043a\u0440\u0438\u043f\u0442\u044b<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/i.minus.com\/iQcCd0ojSaE3J.jpg\" alt=\"image\"\/><br \/>  \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0412 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0442\u043e\u0447\u043d\u043e \u0435\u0441\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0438 \u0442\u043e\u0447\u043d\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u043d\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442\u044c\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f, \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0443, \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0430\u0431\u0440\u043e\u0441\u043a\u0438 \u043a\u043b\u0430\u0432\u0438\u0448, \u0431\u044d\u043a\u0433\u0440\u0430\u0443\u043d\u0434\u043e\u0432. \u041d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u0433\u0434\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0451 \u0443\u0436\u0435 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u0442\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u043c\u0435\u043d\u044e. \u0412 \u043d\u0451\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c 30-40 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0433\u0440\u0430\u0444\u0438\u043a\u0438. \u042d\u0442\u043e \u0438 \u043a\u043b\u0430\u0432\u0438\u0448\u0438 (\u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0435, \u043d\u0430\u0436\u0430\u0442\u044b\u0435), \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0439 \u043b\u043e\u0433\u043e\u0442\u0438\u043f \u0438\u0437 10-\u0442\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043c\u0435\u043d\u044e, \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043d\u0430 \u0431\u044d\u043a\u0433\u0440\u0430\u0443\u043d\u0434\u0435. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0432\u044b\u0434\u0430\u0451\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043f\u043e \u043d\u043e\u0432\u043e\u0439 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u044c\u0441\u044f \u0438 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u044c\u0441\u044f \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437. \u0417\u0430\u0442\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0438 \u0432\u0441\u0451 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e-\u043d\u043e\u0432\u043e\u0439.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u041a\u0430\u043a \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441<\/h5>\n<p>  \u0412\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0433\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u043e\u0442 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430 \u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443 \u043f\u0440\u0438\u0448\u0435\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430.<\/p>\n<p>  \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 AI \u0432 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438 (2048*1536px \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435) \u0441 \u0447\u0435\u0440\u043d\u043e\u0432\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0430.<br \/>   \u2014 \u0440\u0430\u0437\u043b\u043e\u0436\u0438\u0442\u044c \u0438 \u0441\u0433\u0440\u0443\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043f\u043e \u0441\u043b\u043e\u044f\u043c<br \/>   \u2014 \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e (\u043a\u043d\u043e\u043f\u043a\u0438 \u2014 Btn, \u0438\u043a\u043e\u043d\u043a\u0438 \u2014 Icon, \u043f\u043e\u0434\u043b\u043e\u0436\u043a\u0438 \u2014 Uunderlay&#8230;)<br \/>   \u2014 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043a\u0440\u0430\u0442\u043d\u044b\u043c\u0438 2px \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435 \u0438 \u0432\u044b\u0441\u043e\u0442\u0435<br \/>   \u2014 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u043e XY \u043a\u0440\u0430\u0442\u043d\u044b\u043c\u0438 2px<br \/>   \u2014 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c XY-\u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u044f, \u0435\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043b\u0438\u0441\u0442\u0435. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 Illustrator \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u044c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u2014 \u0434\u0430\u043d\u043d\u044b\u0439 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u044b \u0432 \u0441\u0430\u043c\u044b\u0439 \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0441\u043b\u043e\u0439 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442 *\u0422\u0435\u043a\u0441\u0442*  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">XY layer coordinates script<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">if (app.documents.length &gt; 0)   {  var doc = app.activeDocument; var x, y, t; app.coordinateSystem = CoordinateSystem.ARTBOARDCOORDINATESYSTEM;  var count = doc.layers.length;  var out_txt=&quot;&quot;;   for ( var i = 0; i &lt; count; ++i) {  doc.activeLayer = doc.layers[i];  doc.layers[i].hasSelectedArtwork = true;  }   for ( var i = 0; i &lt; count; ++i) { x = doc.selection[i].position[0];  y = doc.selection[i].position[1]*(-1);  \/\/ Layer name, X, Y, layer number out_txt += doc.layers[i].name + &quot;;;;;x=&quot; + x.toFixed(0) + &quot;;;;;y=&quot; + y.toFixed(0) + &quot;;;;;&quot; + i +&quot;\\n&quot;;  }   \/\/Create text frame in first layer on position 0,0 t = doc.layers[0].textFrames.add();         t.contents = out_txt;   }  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>   \u2014 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u043e\u0439 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 PNG24 \u0444\u0430\u0439\u043b \u0432 \u0434\u0432\u0443\u0445\u043a\u0440\u0430\u0442\u043d\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0435. <a href=\"http:\/\/www.arcticmill.com\/2012\/08\/export-layers-as-png-files-from-illustrator-in-multiple-resolutions.html\">Arcticmill<\/a>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Export Layers as PNG files<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">\/\/ *** Export Layers as PNG files (in multiple resolutions) *** \/\/ This script will export all layers that have a name starting with &quot;#&quot;, or &quot;%&quot; into a subfolder of the current .ai document. \/\/ These options can be configured below: \/\/ *** Config options  *** var subFolderName = &quot;Export&quot;; var saveInMultipleResolutions = true; \/\/ ... \/\/ Note: only use one character! var exportLayersStartingWith = &quot;#&quot;; var exportLayersWithArtboardClippingStartingWith = &quot;%&quot;; \/\/ ... var lowResolutionFileAppend = &quot;@Low&quot;; var normalResolutionFileAppend = &quot;-ipad&quot;; var highResolutionFileAppend = &quot;-ipadhd&quot;; \/\/ ... var lowResolutionScale = 50; var normalResolutionScale = 100; var highResolutionScale = 200;  \/\/ *** Start of script *** var doc = app.activeDocument;  \/\/ Make sure we have saved the document if (doc.path != &quot;&quot;) {      \/\/ Check if we need to create the export directory or we will get errors up ahead     var exportDirectoryPath = doc.path + &quot;\/&quot; + subFolderName;      var exportDirectory = new Folder(exportDirectoryPath);      if (!exportDirectory.exists) {         \/\/ We must create the export directory it seems         var newFolder = new Folder(exportDirectoryPath);         newFolder.create();     }      var layerData = new Array();      \/\/ Finds all layers that should be saved and saves these to the export layers array     collectLayerData(doc, null);      var layersToExportCount = 0;      for (var i = 0; i &lt; layerData.length; i++) {         if ((layerData[i].tag == &quot;include&quot;) || (layerData[i].tag == &quot;include_and_clip&quot;)) {              \/\/ Hide all layers first             hideAllLayers();              var clipToArtboard = false;              if (layerData[i].tag == &quot;include_and_clip&quot;) {                 clipToArtboard = true;             }              \/\/ Now show all layers needed to actually display the current layer on screen             layerData[i].showIncludingParentAndChildLayers(); \/\/showIncludingParents();              \/\/ Now we can export the layer as one or multiple PNG files!              var savePath = doc.path; \/\/ Save to same folder as document but in a sub directory              if (saveInMultipleResolutions) {                 \/\/ iPhone 3GS (50%)                 savePath.changePath(subFolderName + &quot;\/&quot; + layerData[i].layer.name.substring(1, layerData[i].layer.name.length) + fixFileAppend(lowResolutionFileAppend));                 savePNG(savePath, lowResolutionScale, clipToArtboard);                  savePath = doc.path;                  \/\/ iPhone 4 (100%)                 savePath.changePath(subFolderName + &quot;\/&quot; + layerData[i].layer.name.substring(1, layerData[i].layer.name.length) + fixFileAppend(normalResolutionFileAppend));                 savePNG(savePath, normalResolutionScale, clipToArtboard);                  savePath = doc.path;                  \/\/ iPad Retina (200%)                 savePath.changePath(subFolderName + &quot;\/&quot; + layerData[i].layer.name.substring(1, layerData[i].layer.name.length) + fixFileAppend(highResolutionFileAppend));                 savePNG(savePath, highResolutionScale, clipToArtboard);              } else {                 \/\/ Save normally (100%)                 savePath.changePath(subFolderName + &quot;\/&quot; + layerData[i].layer.name.substring(1, layerData[i].layer.name.length));                 savePNG(savePath, normalResolutionScale, clipToArtboard);             }              layersToExportCount++;         }     }      \/\/ Restore everything like it was before!     restoreAllLayers();      \/\/ Was there anything exported? If not make a warning!     if (layersToExportCount == 0) {         alert(&quot;Ooops, Found no layers to export!\\n\\nRemember that you must add a \\&quot;&quot; + exportLayersStartingWith + &quot;\\&quot; (when exporting the layer cropped to it's bound) or \\&quot;&quot; + exportLayersWithArtboardClippingStartingWith + &quot;\\&quot; (when layer should be clipped to artboard) to the beginning of the layer name. Also make sure that they layers you want to export are not locked or hidden.&quot;);     } else {         \/\/ Show a completed message         alert(layersToExportCount + &quot; layer(s) was successfully exported to: \\n&quot; + exportDirectoryPath);     }  } else {     \/\/ Document not saved yet!     alert(&quot;Sorry, but you must save your document before you can use the export layers script! This is because exported images are saved in a subfolder to your original file.&quot;); }  function fixFileAppend(fileAppend) {      if (fileAppend == &quot;&quot;) {         return &quot;&quot;;     } else {         return fileAppend + &quot;.png&quot;;     }  }  function hideAllLayers() {      for (var i = 0; i &lt; layerData.length; i++) {         layerData[i].hide();     } }  function restoreAllLayers() {      for (var i = 0; i &lt; layerData.length; i++) {         layerData[i].restoreVisibility();     }  }  \/\/ Collects information about the various layers function collectLayerData(rootLayer, extendedRootLayer) {     for (var i = 0; i &lt; rootLayer.layers.length; i++) {          \/\/ We never even process locked or hidden layers         if ((!rootLayer.layers[i].locked) && (rootLayer.layers[i].visible)) {              var extendedLayer = new ExtendedLayer(rootLayer.layers[i]);              \/\/ Set up parent             extendedLayer.parentLayer = extendedRootLayer;              \/\/ Also add this layer to the parents child collection             if (extendedRootLayer != null) {                 extendedRootLayer.childLayers.push(extendedLayer);             }              layerData.push(extendedLayer);              \/\/ Tag these layers so that we later can find out if we should export these layers or not             if (rootLayer.layers[i].name.substring(0, 1) == exportLayersStartingWith) {                 extendedLayer.tag = &quot;include&quot;;             } else if (rootLayer.layers[i].name.substring(0, 1) == exportLayersWithArtboardClippingStartingWith) {                 extendedLayer.tag = &quot;include_and_clip&quot;;             } else {                 extendedLayer.tag = &quot;skip&quot;;             }              \/\/ We should not export this layer but we continue looking for sub layers that might need to be exported             collectLayerData(rootLayer.layers[i], extendedLayer);         }     } }  \/\/ Holds info and additional methods for layers function ExtendedLayer(layer) {     this.originalVisibility = layer.visible;     this.layer = layer;     this.tag = &quot;&quot;;     this.hide = hide;     this.show = show;     this.showIncludingParentAndChildLayers = showIncludingParentAndChildLayers;     this.restoreVisibility = restoreVisibility;     this.restoreVisibilityIncludingChildLayers = restoreVisibilityIncludingChildLayers;     this.layerName = layer.name;      \/\/ Set after creating     this.childLayers = new Array();     this.parentLayer = null;      function hide() {         layer.visible = false;     }      function show() {         layer.visible = true;     }      \/\/ Shows this layer including it's parent layers (up to the root) and it's child layers     function showIncludingParentAndChildLayers() {          var parentlayerName = &quot;&quot;;          if (this.parentLayer != null) {             parentlayerName = this.parentLayer.layerName;         }          \/\/ Show all parents first         var aParentLayer = this.parentLayer;          while (aParentLayer != null) {             aParentLayer.restoreVisibility();              \/\/ Keep looking             aParentLayer = aParentLayer.parentLayer;         }          \/\/ Show our own layer finally         this.restoreVisibilityIncludingChildLayers();     }      function restoreVisibility() {         layer.visible = this.originalVisibility;     }      function restoreVisibilityIncludingChildLayers() {         this.restoreVisibility();          \/\/ Call recursively for each child layer         for (var i = 0; i &lt; this.childLayers.length; i++) {             this.childLayers[i].restoreVisibilityIncludingChildLayers();         }     } }  \/\/ Save PNG file function savePNG(file, scale, artBoardClipping) {      var exp = new ExportOptionsPNG24();     exp.transparency = true;     exp.horizontalScale = scale     exp.verticalScale = scale;     exp.artBoardClipping = artBoardClipping;      doc.exportFile(file, ExportType.PNG24, exp); } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>   \u2014 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u044d\u0442\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0430\u0442\u043b\u0430\u0441 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 4096*4096 (\u0438\u043b\u0438 \u043c\u0435\u043d\u044c\u0448\u0435, \u043d\u043e \u043e\u0431\u044c\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0439) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Zwoptex \u0438\u043b\u0438 Texture Packer. \u041e\u0431\u044c\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0430\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f \u043c\u0435\u0436\u0434\u0443 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 8px<br \/>   \u2014 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c\u044e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u0443\u0447\u0430\u044e\u0442\u044c\u0441\u044f, \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u043d\u0435\u0431\u0440\u0435\u0433\u0442\u0438 \u043a\u0440\u0430\u0442\u043d\u043e\u0441\u0442\u044c\u044e 2px \u0432 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e \u0435\u0441\u0442\u044c \u044d\u043a\u0448\u043d \u0434\u043b\u044f Photoshop <a href=\"http:\/\/docs.unity3d.com\/Documentation\/Manual\/HOWTO-alphamaps.html\">AlphaUnity<\/a><br \/>  <img decoding=\"async\" src=\"http:\/\/i.minus.com\/i2LydghoOZPsL.png\" alt=\"image\"\/><br \/>   \u2014 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0430\u0442\u043b\u0430\u0441 \u0432 2 \u0440\u0430\u0437\u0430<br \/>   \u2014 \u043f\u0435\u0440\u0435\u0433\u043d\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0432 PNG8<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u043e\u0442 \u043c\u0435\u043d\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a, \u0438\u0445 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043b\u0438\u0441\u0442\u0435, PLIST \u0438\u043b\u0438 XML \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 \u0438 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0430\u043c\u0438, \u0430\u0442\u043b\u0430\u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0432 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u043a\u0443. \u0422\u0430\u043a \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u043d\u0438 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u043d\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0440\u0443\u0442\u0438\u043d\u043d\u043e\u0439, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u043e\u0439. <\/p>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0443\u0434\u043d\u044b\u043c \u0438 \u0434\u043e\u043b\u0433\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437, \u043d\u043e \u043f\u043e\u0442\u043e\u043c \u043e\u0447\u0435\u043d\u044c \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442 \u0436\u0438\u0437\u043d\u044c \u0432\u0441\u0435\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u043f\u0440\u043e\u044d\u043a\u0442\u0430.<\/p>\n<p>  <a href=\"https:\/\/github.com\/MuMed\/illustrator_export\">\u041b\u0438\u043d\u043a \u043d\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u044d\u043a\u0448\u043d. GitHub<\/a>    \t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/158131\/\"> http:\/\/habrahabr.ru\/post\/158131\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/i.minus.com\/iQcCd0ojSaE3J.jpg\" alt=\"image\"\/><br \/>  \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0412 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0442\u043e\u0447\u043d\u043e \u0435\u0441\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0438 \u0442\u043e\u0447\u043d\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u043d\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442\u044c\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f, \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0443, \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0430\u0431\u0440\u043e\u0441\u043a\u0438 \u043a\u043b\u0430\u0432\u0438\u0448, \u0431\u044d\u043a\u0433\u0440\u0430\u0443\u043d\u0434\u043e\u0432. \u041d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u0433\u0434\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0451 \u0443\u0436\u0435 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u0442\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u043c\u0435\u043d\u044e. \u0412 \u043d\u0451\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c 30-40 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0433\u0440\u0430\u0444\u0438\u043a\u0438. \u042d\u0442\u043e \u0438 \u043a\u043b\u0430\u0432\u0438\u0448\u0438 (\u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0435, \u043d\u0430\u0436\u0430\u0442\u044b\u0435), \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0439 \u043b\u043e\u0433\u043e\u0442\u0438\u043f \u0438\u0437 10-\u0442\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043c\u0435\u043d\u044e, \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043d\u0430 \u0431\u044d\u043a\u0433\u0440\u0430\u0443\u043d\u0434\u0435. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0432\u044b\u0434\u0430\u0451\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043f\u043e \u043d\u043e\u0432\u043e\u0439 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u044c\u0441\u044f \u0438 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u044c\u0441\u044f \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437. \u0417\u0430\u0442\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0438 \u0432\u0441\u0451 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e-\u043d\u043e\u0432\u043e\u0439.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-158131","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/158131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=158131"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/158131\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=158131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=158131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=158131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}