1. Open Photoshop. You need to open an image from which you will be creating pattern.
2. Pick up Rectangular Marquee Tool
3. Select the portion of which you want to make a pattern.
4. Edit > Define Pattern
5. The box will pop up. Name the pattern. We named it as “flower”.
6. Open new canvas where you want to fill the newly created pattern.
7. Edit > Fill
Select newly created pattern
8. Canvas will be filled with newly created pattern.