Posted in webdev
1572
11:33 pm, January 24, 2019
 

Extending a background image using free transform Photoshop CS5

this method works better usually on more abstract images, but is a good way to fill in space. If you are trying to get a header or banner image to fit. 

Lets say you have this image and want to stretch the background to fit a horizontal page banner.

Crop the section that you want to use

Copy this bit into a new image that is the width of the banner that you are creating, in this case i will use 1200px.

Select 1px width and full height on the left side of the image and copy and paste this into a new layer. 

Press Ctrl + T or access the free transform, when this layer is selected and hold down shift while dragging the selection to cover the white space. 

Now repeat this for the other side of the image.

Now we can export this image as a banner ready for use. Here is the final result. 

Sources

https://unsplash.com/photos/CPytUjxWmzA 

View Statistics
This Week
47
This Month
183
This Year
497

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Articles
Search Articles by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote

Please dont do this! 😜


Unknown Web Developer
Random CSS Property

padding-bottom

The padding-bottom CSS property sets the height of the padding area on the bottom of an element.
padding-bottom css reference