Showing posts with label Adobe Photoshop Tutorial. Show all posts
Showing posts with label Adobe Photoshop Tutorial. Show all posts

Working with Photoshop Pattern Maker



Pattern Maker Filter in Photoshop


Pattern maker is really a smart tool to create pattern from an image or drawing. In this post, I'm gonna tell you about Photoshop Pattern Maker. After completing this lesson, you will be able to create beautiful and eye-catching patterns from simple drawing or image!



Creating Patterns from Image

You can create pattern from any image. I'm gonna show you an illustration - 



Light Flower


I will use the above image to create a pattern. I'm gonna open this image through Photoshop CS6. 


Filter > Pattern Maker . . .



Pattern Maker Filter in Adobe Photoshop CS6



Now look at the image below - 



Creating Pattern by using Photoshop CS6


As soon as you choose Pattern Maker, you will get this window. Look at the area I've selected as my pattern area. 

You can choose any area to create a pattern. 


Select your area > Hit on the Generate button > You will get a patter > Hit Generate again to create a different pattern > You will be able to create 20 different patterns.


You can also change the values of the options as marked by a rectangle in the image above. Changing the default values will produce much different looks!



Pattern from Flower


And this is my output. 


Creating Patterns from Drawings/ Shapes/ Texts

You can also create patterns by drawing lines and shapes. You can also create patterns from any other objects of texts! Simply follow the steps below:

  1. Open up Photoshop and create a new document of any size.
  2. Now draw something randomly. Or create any shape. You can even type some letters. Use a color as you like.
  3. Now hit on the Filter Menu and choose Pattern Maker.
  4. Select the area from which you would like to create pattern.
  5. Now hit on the Generate button to create the pattern. 
  6. Use General again option to get different looks. 
  7. When you're done, simply hit OK. That's it!


Hope you will enjoy this tutorial. If you face any trouble, don't hesitate to contact . . .





Stay with Marks PC Solution to get more interesting IT topics!



How to Straighten Photo by Photoshop?


Straighten Photo by Photoshop


When you scan an image, most of the times it may not be straight. Or when you take a shot, the photo may not be straight along with the horizon. In that case, you can automatically correct the deviation using Photoshop. You have to use both Ruler Tool and Image Rotation option.


Applies to 

I've tested this tutorial on Adobe Photoshop CS5 and CS6. And I think it will work fine with previous versions of Photoshop.


Let's Start -
  1. Run Adobe Photoshop from your PC.
  2. Press Ctrl+O > Find & Locate the image that needs to be corrected > Open it.
  3. Look at the image properly and determine how much rotation you need.
  4. Now choose the ruler tool as shown in the image below. (You can press Shift+I to change the tools of this section. Press Shift+I until Ruler Tool appears)
  5. Hope you've Ruler Tool selected. Now you've to draw a line within your image in such a direction which you think straight. 
  6. Now go to the Image menu > Image Rotation > Choose Arbitrary (Here you will see how much your image will rotate. Make sure CW is selected) > Choose OK.  
  7. Now you will get the image straightened as you drew the line.


Location of Ruler Tool in Photoshop


Illustration

Suppose you've scanned the following image. But it needs to be straightened. Open the image in Adobe Photoshop. Choose Ruler Tool and draw the line as shown in the image above. 


McGyver Rotated Image

Now go to the Image menu > Image Rotation > Choose Arbitrary > Choose OK. Now your image will be automatically straightened. And you will get the following result - 




McGyver's Image



Note: you can draw the line through Ruler Tool at any part of the image. Not necessary that you must draw the line at the top. But choose a part to draw the line that helps you understand how much rotation is needed. 



Rotate/ Straighten Image Manually . . . 

You can also rotate image manually. There are several ways you can follow for this purpose:
  • Open your image that needs to be rotated or straightened. Press Ctrl + T to get the bounding box around the image. Move your mouse pointer outside of any of the 8 points. Then you will get the rotation icon as shown in the image below. Click and rotate your image as you need. Hit Enter to confirm your rotation.
Rotate an Image in Photoshop

  • You can also rotate an image while cropping it. To do so, you've to open your image first. Then choose Crop Tool (C) from the toolbar (Just left to the Ruler Tool). Now you will get 8 points to crop your image. Move your mouse pointer outside of the any point to get the rotate option. Now rotate the image as you wish. Hit Enter to confirm your rotation as well as cropping. 

Crop an Image in Adobe Photoshop



Keyboard Shortcuts Used in this Tutorial
  • Ctrl + O = To Open a File
  • Ctrl + T = Free Transform (Useful to resize or rotate image)
  • Enter = To Confirm a Change.
  • C = Crop Tool.
  • I = Ruler Tool
  • V = Move Tool
  • Shift + Specific Letter = To alternate between the tools of same category.

Hope you've enjoyed this post. If you face any problem, don't hesitate to leave a comment below . . . 



Stay with Marks PC Solution to get more interesting IT topics!




Optimize Images for Web by Photoshop


Photoshop Save for Web option



Adobe Photoshop is a widely accepted tool for working with photos and images. For better printing and viewing experience we save images with high quality and resolution. And it makes the image large in size. If you use heavy images in website, blog or social networking sites, that causes the site to load slower. But you can easily optimize the images before uploading without sacrificing quality!



Today I'm gonna write about the Save for Web option of Photoshop. With this saving option, you can optimize your images. You can also reduce the size of those images which are unnecessarily large. 


And definitely optimized images will save internet bandwidth as well as time. And if you're a site owner, you must practice using optimized images on your site. If your site loads faster, you will get more traffic. And always keep in mind - slower sites are always boring for the users and thus they can't retain visitors. 


Save for Web/ Save for Web & Devices (Shift+Ctrl+Alt+S)

This saving option (Save for Web) is available in all running versions of Adobe Photoshop. As mentioned earlier, with this option, you can save an image optimized for web in terms of quality and quantity. 


Photoshop Save for Web option


Using Save for Web Option

To use the Save for Web option, you must come with a photo/ image. Remember, I'm gonna talk about the saving option only. So, you must practice with a complete image. I'm not gonna discuss how to modify it. 

Of course you can adjust your project image from Image menu. You can adjust image size, tone, contrast etc. 

Okay let's begin - 

  1. Open your desired image using Photoshop.
  2. Go to the File menu and choose Save for Web option.
  3. A new window will appear. Make sure the Optimized tab is selected. 
  4. At the right side you will get some preset settings. Test them one by one. And look at the bottom of your picture for image size. 
  5. Just below the preset, you will have image formats - GIF, JPEG, PNG etc. 
  6. Pick a format which gives your image a better look with lower size. 
  7. Finally, hit on the Save button. 

Now I would like to discuss about image formats:  



GIF - Graphics Interchange Format

One of the most common image formats used by the webmasters. GIF is great for saving animated images. You can also save images with transparent background through GIF. If you choose GIF format you can - 
  • Change the number of colors to be used with the image (2 to 256)
  • Control the amount of dither (0% to 100%)
  • Include/ Exclude Transparency
  • Increase/ Decrease the amount of Web Snap (0% to 100%)

And you should mark the Convert to sRGB check box.

Try each option by yourself. You must focus both on image quality and file size. Before saving the image, you can hit on the preview button just at the bottom of the window.  



JPEG - Joint Photographic Experts Group

The most widely used image format all over the world. JPEG is an image format which is supported by everywhere. If a website supports only one image format, definitely it will be JPEG. If a device can display only a single image format, it will be JPEG. So, you can easily understand how popular it is. 

If you use JPEG, you can control the image quality from 0 to 100 (Low to Maximum). And you should select the following options:
  • Optimized
  • Convert to sRGB

PNG - Portable Network Graphics (My Personal Choice)

PNG is a very common format for saving icons or logos. It's also great for saving pictures with transparent background. PNG produces much better quality than GIF or JPEG. That's why I prefer PNG format. 

In Save for Web option, you will find two types of PNG - 
  • PNG 24: Almost similar in size with the original image
  • PNG 8: Image size is much less than that of original image

So, I suggest you to use PNG 8. Because PNG 24 will save your image normally without any optimization. 


Photoshop CS6 PNG-8 Options


If you choose PNG 8, you can - 
  • Choose the number of colors
  • Control the amount of Dither
  • Increase/ decrease Web Snaps
  • Choose whether to be Transparent or not
And don't forget to mark the option - Convert to sRGB


Compare Formats Side by Side

You can also compare your image in different formats. At the top of the Save for Web window, the optimized tab is selected. That means you're viewing optimized image. The next tabs are 2-up and 4-up.  


Photoshop Save for Web Tabs


If you choose 2-up, your picture will be shown side by side. Or you can choose 4-up to get 4 views of your picture. 


  • Now choose the first picture. This will be original. 
  • Hit on the second one and choose GIF format.
  • Hit on the third one and choose JPEG.
  • Hit on the fourth one and choose PNG 8. 

Now you can compare the 4 views. Check which one is better in quality and lower in size. Select one which is better. And then save the picture. 

Look at the following image - 


Sampe Image Saved by PNG 8


  • The original format of the above image is PNG (without optimization). And its size is 555 KB.
  • When it's saved in GIF format, the size becomes 24 KB only!
  • If I choose JPEG, it becomes 80 KB.
  • And in PNG-8, it is 21 KB.
Of course the file size may vary depending on the number of colors, Amount of Dither, Web Snap etc. 





You must know some facts: (My personal experience)
  • When your image contains only a single color or few colors (Ex- Red, Yellow or Black), don't use JPEG or GIF. Because PNG can save it within few KBs. And the quality will be much better. 
  • If your image is too much colorful (contains numerous colors), you can use JPEG format to keep the file size lower. 
  • GIF stands in the middle of JPEG and PNG in terms of image quality. Depending on image type, the size of GIF and JPEG image varies. 
  • JPEG and GIF can't produce as better image quality as PNG. If you want better quality image (No matter whatever the size is), save your picture as PNG. 
  • If you use PNG 8 in case of image with gradient color, the quality of gradient part will deteriorate. In that case, you may choose PNG 24. 
  • Photoshop CS6 performs better than CS5 in case of optimizing images.

It's such a big post - more than 1100 words! If you're new in Photoshop, you may think this is something critical. But I can swear, if you practice Save for Web option for few days, you will find it very easy and interesting. Don't forget to leave a comment . . . 


Stay with Marks PC Solution to get more interesting IT topics!



Change Photoshop Transparency Grid Color!!




If you're a Photoshop user, you must know about transparency grid. Transparency Grid is a checkerboard which appears when you're working with an image with transparent background. If your image has no color in the background, this checkerboard appears behind the image. 


Okay fine. Transparency will be indicated by the checkerboard. But you may ask, why I will change the color of transparency grid. In this post I'm gonna answer this question. And I will also show, how to change the color of the transparency grid. 



Why to Change? 

Suppose you've an image with white background. And you need to remove this background behind the image. You know there are different ways to remove background. I'm not gonna discuss it here. 

In the critical part of the image, Magic selection tool may not be able to select the white part. In that situation you can manually select the unselected portion. But you may also fail remove the white background properly. Because you can't select the white background as your default transparency grid is looks like a checkerboard that contains white color! So after saving the image you will notice there are some scattered white spots in the background. 

To get rid of this problem, you can change the default transparent grid. 



How to Change? 

Very simple. I'm using Photoshop CS5. Run Adobe Photoshop from your PC and follow the instruction - 

  1. Go to the Edit Menu.
  2. Select Preferences > Choose Transparency & Gamut.
  3. Now you will get the Preferences window with Transparency option selected.
  4. Keep the Grid size Medium or as your wish.
  5. Choose Dark from Grid Colors. Or you can customize the color using the custom option. You can also use any other color from the list if any of them is suitable for you. 
  6. Hit OK after choosing the Grid colors. 




Remember, the default grid color may need to changed when you're gonna remove any white background from your image. Or background that is light black. Otherwise you don't need to change it. 


Turning off the Grid!

You can totally turn off the grid! Yes! If you're bored with the grid that is shown for transparent layer, then you can turn off the grid from preferences window. 

Go to the Grid size as shown in the image above. And choose None. Now create a new document from your Photoshop with transparent layer. You will just see white background instead of a grid. But your image will have transparent layer. 



Stay with Marks PC Solution to get more interesting IT topics!




Twist Image by Liquify Effect


Photoshop Liquify Effect


By default, Adobe Photoshop contains numerous attractive effects/ filters. And you can also add third party filters if you want. Today I will show the use of liquify filter which can be used to twist an image or object. And it's really a useful tool when you need to distort the photos of your friends! You can make their faces bizarre! :) 


I'm using Photoshop CS5 Extended Version. Hopefully the commands and options will be almost same with other versions of Photoshop. Let's start - 


  1. Run Photoshop and open an image from your hard disk. 
  2. Now go to the Filter Menu and choose Liquify (Shift+Ctrl+X).
  3. Now your image will be opened in a new window. 
  4. Mouse pointer will take the form of a plus sign with circle. 
  5. Hit and move the pointer over the image. 
  6. Rotate and twist the image as your wish. 
  7. If you're done press OK. Or if you wanna cancel, hit the Cancel button or press Esc. 

There are some additional options too! Look at the tools panel of liquify filter - 


Liquify Options

By default, you're getting the first tool selected. You can also try the other tools. They will produce a completely different result. 


You may need to adjust the brush size. Press and hold the right bracket ] to increase the brush size. And press and hold down the left bracket [ to decrease the brush size. 


Also try the Tool options from the right panel. Here you can change the Brush Size, Density, Pressure etc. Hit OK to save your changes to the image. Or press cancel if you don't like to distort the image. 

And don't forget to try the other commands of Filter menu. These are really cool! 



Hope you've enjoyed this post. If you have any query please leave a comment . . .




Stay with Marks PC Solution to get more interesting IT topics!



Working with Photoshop Color Range


Photoshop Color Range Command


Photoshop guys are very familiar with the color range option of Adobe Photoshop. Color range command is a great tool for selecting the areas of an image based on sampled color. And it's somewhat similar to Magic Wand Tool. In Magic Wand Tool you need to manually click on the areas of an image that needs to be selected. But if you use the color range option, you just need to choose the sample color. And Photoshop will make the selection by itself! 


This tutorial applies to all running versions of Adobe Photoshop including CS4, CS5 and CS6. But I've prepared the tutorial using Photoshop CS5. All the images of this post will be based on Photoshop CS5. 



Color Range

Color Range belongs to the Selection part of Photoshop. You will find it under the Select Menu. Run Photoshop from your PC > Open an image from your hard disk > Go to the Select menu > Choose Color Range. You will get the following image: 


Color Range Window in Photoshop CS5



Have you noticed Marks PC Logo on color range window? Here the white part is currently selected. If you would like to expand the selection area then click on the pencil button from the right side with plus mark. Now go to your image and hit on the part that you want to add to your selection. 


Make sure Sapmled Colors is enabled in the Select option. 


You can also increase/ decrease the amount of Fuziness adjust the selection. If you make any wrong selection or if you'd like to remove something from your selection then choose the Pencil button with negative sign. Then hit on the part of image you want to deslect. 



Eyedropper Tools

The three tools just below the Save button is know as eyedropper tools. The left one is called Eydropper, middle one is Add to Sample and the right one is Substract from Sample



Fuziness and Range

I've told earlier that Fuziness will control the amount of selection. By increasing and decreasing the range, you can control the amount of selection. And Range will control how much area of the image will be selected. 


To be honest, color range command is somewhat difficult to explain. You need to practice it by yourselft. If you click on the options, increase or decrease the value of different fields, you can easily understand. So, try to explore! 



Stay with Marks PC Solution to get more interesting IT topics!



Working with Photoshop Stroke


How to Apply Stroke in Photoshop


Photoshop Stroke belongs to layer style. You can add stroke outside of an image, text or shape. When you apply stroke over something, it looks like a border or outline. You can also choose different colors for stroke. And you can also adjust the size, position and opacity while applying stroke. 


Last month I wrote about how to work with Fill & Opacity in Photoshop. I think you should also have a look to this tutorial. It will be helpful for you. 


Photoshop Stroke

Look at the two images below side by side. The left one has no outline. But the right one has a border outside of it. 

Photoshop Stroke Effect


No stroke has been applied on the left image. And the right image has a stroke outside of it. You can also use stroke with texts and shapes. Stroke can highlight something. Sometimes after applying stroke over something, you can minimize the fill. In that time, you will get stroke highlighted and the inside dimmed! Learn more . . . 



How to Apply Stroke?

If you wanna apply stroke over an image then open it. Or create a new document and then type something or take any shape on which you wanna apply stroke. Now make sure you're on the right layer I mean your image or text is selected. Also make sure that your Layer window is turned on. Now go to the strong as shown in the image below. 


Strok Option in Adobe Photoshop CS5


Hit on the fx (Add a layer style) at the end of layer panel and choose Stroke. Now you will get the Layer Style window. Look at the Stroke options below:


Stroke in Layer Style Window


Adjust the size and look at the effect of your stroke outside the image or text. This is very important. Sometimes 1 px doesn't make any sense. Though it depends on the situation I prefer 2 or 3 px. Certainly a fat stroke will not make any sense. 


Keep Position - Outside, Blend Mode - Normal, Fill Type - Color and Opacity - as your wish. If you minimize the opacity from 100% to 60 or 70%, then your stroke color will be darken somewhat. 


And finally choose a brilliant color for the stroke. Hit on the color box and select different colors to test the result. After choosing the color, hit on the OK button. 


You can also explore some additional options from Layer Style window. Suppose Drop Shadow, Gradient Overlay, Satin, Bevel and Emboss these are really cool options here. These can turn your normal image into an outstanding one. And these are really awesome for creating superb text! 


After applying stroke, also adjust the Fill and Opacity of the layer. These control the transparency of your image. Adjusting the transparency will give you a completely different look. 


Stay with Marks PC Solution to get more interesting IT topics!



Create Sample Barcode using Photoshop !!


How to Create Barcode using Adobe Photoshop


In this post, I'm gonna publish a funny tutorial of Adobe Photoshop. Now I will show you how to create a sample barcode (fake) by Photoshop. It will not be a real one but look like an original barcode. And maybe all of you know that original barcodes are machine readable. A real barcode includes product information like country of origin, manufacture and expiry date etc. 


I'm using Adobe Photoshop CS5 for this tutorial. But so far I know, any version of Adobe Photoshop will produce the same result for you. Okay let's start - 

  • Run Adobe Photoshop and open a new file with following settings
  • Choose Width 250 px, Height 100 px, Resolution 72, RGB Color Mode with 32 bit, White Background and hit OK. 
  • Now you will get a white rectangle in the screen. 
  • Go to the Filter Menu > Noise > Add Noise . . . > Amount 400 > Distribution - Gaussian > Select Monochromatic > Hit OK. 
  • You white rectangle will take the following look. 

Noise Filter in Photoshop



  • Again go to the Filter Menu > Blur > Motion Blur . . . > Angle - 90 degree > Distance - 999 pixels > Hit OK. 
Motion Blur after Noise Filter
  • Look, I've just cut the bottom part of the image with Rentangular Marquee Tool. Choose Rectangular Marquee Tool from the toolbar. Now click and drag as my image shows above leaving a small portion from left and right part. Hit on the delete button and choose white color. 
  • Press T or simply open the Type Tool > Choose Arial font with 10/12 pt size > Type some digits randomly as below.

Sample Barcode by Photoshop


We're almost done. But you can't save it! Because at the very beginning, you chose 32 bit color mode. But if you want to save the image as JPG or PNG, you must select 8 bit color. Then why I suggested to use 32 bit? Because 32 bit will give you a better look which 8 bit or 16 bit can't. 

If you choose 8 bit or 16 bit color, there will be no problem. You can directly save it as JPG or PNG. But the quality will fall somewhat. 


Then How to Save? 

  • Look at the layer panel. Possible there are two layers - Text and Background. Press Shift key > select both the layers > Click right mouse button > hit on Convert to Smart Object.
  • Now press Ctrl + A > Ctrl + C > Ctrl + N > In the Color Mode - Choose RGB and 8 bit > Hit OK.
  • Press Ctrl + S > Select either JPG or PNG > Hit OK.

I prefer PNG due to its brilliant quality. 


Note: If you avoid using 32 bit color mode while opening the new document you will not face any problem while saving it. Simply use 8 bit when you create the document at the beginning. Then you can easily save it just after completing the barcode. But in that case, the bars will not be so clear. 


Do you like this tutorial? :) 



Stay with Marks PC Solution to get more interesting IT topics!



Optimize the Performance Settings of Photoshop


Adjusting the Performance Settings of Adobe Photoshop


Adjusting the performance settings could double your Photoshop experience. Though Photoshop automatically sets the performance depending on your hardware configuration. But sometimes you may need to adjust the default settings to improve the performance. If your hardware configuration is strong, you should customize the performance settings. 


Couple of days ago, I got a new CPU you know. And the following parts will affect the Photoshop performance: 
  • Intel Core i3 Processor (3.3 GHz, 3 MB Cache)
  • 4GB DDR3 RAM (1600 Bus)
  • 1 TB HDD
And I always use Photoshop CS5 (Portable) for edidting or creating image. The hardware of my old PC was not strong enough. And it didn't allow me to customize the settings so much. But the new one lets me customize the performance settings. 



Optimize the Performance Settings| Photoshop CS4, CS5, CS6

Don't be confused! All the images used in this post, options I'm talking about are based on Adobe Photoshop CS5 Extended. Since I don't have old versions of Photoshop I'm not sure whether the options are same or different. But I hope, there could be a bit difference, not more than that. 

Let's start - 
  1. Run Adobe Photoshop.
  2. Go to Edit Menu and Choose Preferenes > Performance.
  3. Now you will get 4 sections: Memory Usage, History & Cache, Scratch Disks and GPU settings.
Let's customize one by one - 


Memory Usage

This is the most important part of this topic. I mean the usage of RAM. 

Usage of RAM in Adobe Photoshop

Look at the memory usage part. Available RAM indicates your usable RAM. Ideal range is the range which Photoshop thinks optimum for your PC. By default, Photoshop use 60% to 70% of available RAM. But I've 4 GB RAM installed in my PC. Why do I use 1585 MB only? 

I've chosen 100% of the available memory. There is a slider too. You can increase/ decrease the memory usage by sliding the indicator to the right or left. 


History & Cache

The next one is History & Cache. Look at the image below:

History & Cache Option in Adobe Photoshop

In this part our main concern is Cache. History doesn't matter. By default photoshop can save up to 1000 history states. But never do that. Remember, the more states will consume more hard disk space. Let's keep it to 20. Or you can reduce the value to 10. 


If you have more than 3 GB usable RAM, set the Cache Levels to 8 and Tile Size to 1028 K. Or you can choose more cache levels for bigger documents with few layers. And fewer cache levels for smaller documents with many layers. 


Choosing higher cache levels and bigger tile size may slow down the speed while opening a document. But it will significantly improve the processing capacity. So if you have faster RAM and large hard disk, choose the higher cache levels and tile size. 


Scratch Disks

What is Scratch Disks? A list of your hard disk volumes! Before talking about this let's have a look at the snapshot:

Photoshop Scratch Disks and GPU settings

How much RAM you have? 2 GB, 4 GB, 8GB or more? Sometimes this is not enough for processing images. That's why Photoshop uses a part of your hard disk as scratch disk. By default, Photoshop uses the Drive C:\ to scratch. Normally we use C as booting drive. 

But using booting drive as scratch disk is not a good idea. Let's choose another drive which  is faster and having plenty of free space. Here I've choosen the drive D:\ as scratch disk. You can also choose more than one scratch disk if necessary. In that case you can rearrange the order using the up and down arrow. 

Suppose, you've selected drive D as scratch disk. Now if you run photoshop, you will see a temp file in the D drive. ie. Photoshop Temp54895112832. And after closing the photoshop, this file will be vanished automatically. 


If you have any external disk which is faster than your internal hard disk, you can use that disk as your scratch disk. 


GPU Settings

You can only use this feature if your video card supports this. Look at the above image. 

Detected Video Card: Intel(R) HD Graphics 2500

Here you can Enable OpenGL Drawing. You may not be able to find any difference directly. But this option will enable some features that enhance the overall performance. 

OpenGL Drawing enables the following features:
  • Rotate View Tool
  • Birdseye Zooming
  • Pixel Grid
  • Flick Panning Preferences, Scrubby Zoom
  • HUD Color Picker, Sampling Ring etc.
Enhancements:
  • Smooth Pan and Zoom
  • Drop Shadow for Canvas Border
  • 3D Interaction Acceleration etc.


Hopefully, adjusting these performance settings will help you a lot to have a better photoshop experience. If you're confused with any option, please knock me . . . 


Stay with Marks PC Solution to get more interesting IT topics!