Sunday 7 August 2016

How to create animated GIF in Photoshop

How to use timeline in Photoshop to create Frame Animation 

Step 1 > File - New



Step 2 > File - Open (Upload Image)



Step 3 > Select Window - Timeline



Step 4 > Select Create Frame Animation (From Drop down in Timeline)



Step 5 > click on Create Frame Animation



Step 6 > Click on Duplicate Selected Frames



Step 7 > Click on Select Frame delay time and select the time delay 



Step 8 > Click Tweens animation Frame



Step 9 > Tween Popup add frames select the "Tween With: Dropdown" Next/Previous Frame



Step 10 > Now you will get Frames in your Timeline



Step 11 > Now set your Image.(Select the frame and Move your image (car-img) little Left 



side as img 1-km like this select the frame and set the image little 2nd frame 2-km like 

this set all frame.

Step 12 > Play Animation



Step 13 > See the Animation Here in below image car is in frame 5 and it has covered 4-KM



Step 14 > Now save image ( File - Save for web)



Step 15 > Save as GIF



Step 16 > Now open car.GIF (image) in web Browser you can see the Animated car running in 

road.





Thursday 4 August 2016

How to create multiple size app icons on single click in photoshop

How to automate exporting multiple PNGs with different sizes from Photoshop

Step 1 > Create .jsx file (as below given or use same code and save as filename.jsf)


Code:-


var inFolder = Folder.selectDialog("Please select folder to process");

if(inFolder !== null) {
  var fileList = inFolder.getFiles(/\.(jpg|tif|psd|png)$/i);
  var outfolderName = prompt('Folder name', 'MultipleIcons');
  var outfolder = new Folder(decodeURI(inFolder) + "/" + outfolderName);

  if (!outfolder.exists) outfolder.create();

  for(var a = 0; a < fileList.length; a++) {
    if(fileList[a] instanceof File) {
      var doc = open(fileList[a]);
      var docname = fileList[a].name.replace(/\.[^\.]+$/, '');
      micons();
      doc.close(SaveOptions.DONOTSAVECHANGES);
    }
  }
}

function micons() {
  var savedRuler = app.preferences.rulerUnits;
  var w = app.activeDocument.width;
  var h = app.activeDocument.height;
  var quality = 50;

  app.preferences.rulerUnits = Units.PIXELS;
  if(w > h) app.activeDocument.resizeCanvas (w, w, AnchorPosition.MIDDLECENTER);
  if(w < h) app.activeDocument.resizeCanvas (h, h, AnchorPosition.MIDDLECENTER);
  app.activeDocument.resizeImage('2560px', undefined, undefined, ResampleMethod.BICUBICSHARPER);
  app.preferences.rulerUnits = savedRuler;

  for(var i = 4; i >= 0; i--) {
    var outfolder = new Folder(decodeURI(inFolder) + "/" + outfolderName + "/" + docname + "/TileGroup0");
    if (outfolder.exists === false) outfolder.create();
    var saveFile = new File(decodeURI(outfolder) + "/" + i + "micons.png");
    SavePNG(saveFile, quality);
    app.activeDocument.resizeImage('50%','50%', undefined, ResampleMethod.BICUBICSHARPER);
    quality = quality + 10;
  }
}

function SavePNG(saveFile, quality) {
  var exportOptionsSaveForWeb = new ExportOptionsSaveForWeb();
  exportOptionsSaveForWeb.format = SaveDocumentType.PNG;
  exportOptionsSaveForWeb.includeProfile = false;
  exportOptionsSaveForWeb.interlaced = true;
  exportOptionsSaveForWeb.optimized = true;
  exportOptionsSaveForWeb.quality = quality;

  activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB,exportOptionsSaveForWeb);
}

Step 2 > Place the file in  (C:\Program Files\Adobe\Adobe Photoshop CC 2015\Presets\Scripts)
for windows OS.

Step 3 >  Open Photoshop you will get this Popup Window


Step 4 > Select the Image folder where you place all images which you want to convert in multiple size images.


Step 5 > After select your Image folder, you will get another Popup window where you can give the name of the new created folder.


Step 6 > After click OK automatically it converts your kept All images in folder in different size with their name in folder.



OUTPUT 








Monday 1 August 2016

How to use fontawesome in Photoshop

Use Font Awesome in Photoshop

1> Download FontAwesome from http://fortawesome.github.io/Font-Awesome/

2> Copy font files from "font-awesome/font" and Paste to your computer font directory

      (For Windows OS: C:\Windows\Fonts)

3> Install the Font


4> Copy font icon from http://fontawesome.io/cheatsheet/



5> Select the Type Tool in Photoshop Application



6> Change the fonts style as Fontawesome




7> Paste the copied font icon in Photoshop Application



8> Give the size and color to that icon (as font)






9> Now your icon is completed as fontawesome Icon



Thursday 28 July 2016

Create a transparent shape with border only

Create a transparent shape with border only


Step 1 > Right click Rectangle Marquee tool and select the shape as per your requirement.



Step 2 > Drag the mouse until the marquee create your required shape



Step 3 > Go to Edit Menu and Select Stroke you will get stroke dialog box






Step 4 > Set the Width,Color as per your Border color and width requirement



Step 5 > Set the location
               ( Inside : - the border appears inside of the Marquee line
                 Center : - the border appears centered over the Marquee line
                Outside : - the border appears outside of the Marquee  line )

Step 6 > Opacity as per your requirement and press OK


Step 7 > then click on layer or press [Ctrl]+[D] see the Result


Using Mode: Dissolve


See Result
















How to apply border on the right and bottom only

How to apply border on the right and bottom only

Step 1 > Draw the Shape and check the Property Panel (make Border 0 pt)


Step 2 > Right click on Layer and Select the Blending Option


Step 3 > Select the Inner Shadow 
Step 4 > Select Blend Mode Normal and Set color of Shadow
Step 5 > Move the angle to -45
Step 6 > Set the size of shadow (border) as per your requirement.


Result:-



How to apply border on the  bottom only


Same above steps you have to follow only change the Angle of the Shadow.


Result : -


How to apply border on the Top only

Same above steps you have to follow only change the Angle of the Shadow.


Result : -

Conclusion:-

Only need to change the Angle and see the Preview and you can give the border as per your need.





Photoshop Layers Panel Essentials

Layers Panel and Use masks to hide layers in Photoshop

 Changing The Preview Thumbnail Size

Step-1> Click on small menu icon(right side)


Step-2> Select Panel Options


Step-3> Select as you wish to see the Thumbnail Size

 Result as below Image

Alternate option : - Right Click near Layer Panel and get the option to select the Thumbnails size 





Layer Mask : -


> Layer Mask allows you to control a layer's level of transparency or Opacity.
> It is useful because it will keep your original image as well and cover your original image with     mask.

How to create Layer Mask 

Turning Off Default Layer Masks


Hide(erase) the second Image Background



Use Brush Tool to hide (erase) the second layer


See the Above Panel while you select the Brush Tool


Now Start Erasing the background of second Image


Now you can place the second layer image as per your requirement


If you want to recover or back your original image then Turn-off layer Mask



conclusion:- This is the reason why we use the layer mask rather than the opacity option. we can recover back our original image as well as we can edit/erase the image as per our need.