Posted in webdev
1639
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
52
This Month
232
This Year
564

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
When i was a little kid, I was really scared of the dark. But then I came to understand, dark just means the absence of photons in the visible wavelength -- 400 to 700 nanometers. Then i thought, well, its really silly to be afraid of a lack of photons. Then i wasn't afraid of the dark anymore after that.
Elon Musk
Random CSS Property

font-variant-alternates

The font-variant-alternates CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in @font-feature-values.
swash() css reference