Posted in webdev
1618
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
40
This Month
211
This Year
543

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

“Make no mistake: This is not your diary. You are not letting it all hang out. You are picking and choosing every single word.”


Dani Shapiro
Random CSS Property

border-block-start-width

The border-block-start-width CSS property defines the width of the logical block-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
border-block-start-width css reference