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

Friday, June 14, 2013

We’ve recently been hearing about tracking cookies and laws in the European Union forcing websites to explain their use of cookies to their visitors. If you’re wondering what cookies are and what all the fuss is about, you’re not alone.
Cookies are an important browser feature – if you disable cookies, you’ll find yourself unable to log into websites. While cookies have important, good uses, they also have more questionable uses.

What’s a Browser Cookie?

Cookies are small pieces of information websites store on your computer. Cookies only contain bits of text, not anything else. The text can be a user ID, session ID, or any other text. For example, web pages can be configurable – a web page could have a Hide link that hides a certain element on the page. The page can save this setting on your computer with a cookie. When you load the page in the future, the page can examine the cookie and automatically hide the element.
If you clear your cookies, you’ll be logged out of all websites and websites won’t remember any settings you’ve changed on them.
Cookies are very common – you probably have hundreds or even thousands stored in your browser right now.

How Cookies Work

Your web browser stores and manages cookies. You can find a list of websites storing cookies and view the cookies themselves – although it’s usually not interesting to look at the content of the cookies – in your browser’s settings. If you use multiple web browsers on your computer, each browser has its own set of cookies.
Websites are only allowed to look at their own cookies – for example, when you visit How-To Geek, we can’t examine cookies from other websites. This prevents malicious websites from snooping and stealing your login sessions.

Good Uses for Cookies

As we’ve seen, cookies have a number of very important uses. The web wouldn’t be what it is without them today.
  • Cookies store your login state. Without them, you wouldn’t be able to log into websites. Websites use cookies to remember and identify you.
  • Cookies store preferences on websites. You couldn’t change settings and have them persist between page loads without cookies.
  • Cookies allow websites to provide personalized content. For example, if you’re shopping on Amazon, Amazon can remember the products you’ve browsed and recommend similar products – even if you’re not logged in.


“Bad” Uses for Cookies

However, cookies can also be used for more questionable purposes. Advertising and tracking networks use tracking cookies to track you across the web. When you visit website that uses scripts from an advertising network, that network can set a cookie in your browser. When you visit another website that uses tracking scripts from the same network, the advertising network can check the value of your cookie – it knows the same person visited both websites. In this way, the advertising networks track you across the web.
This information is used to target ads to you – for example, if you search for car insurance and later visit a news website, you may see advertisements for car insurance on the news website. The advertisements may not be related to the website you’re currently on, but they will be related to the websites you were visiting before. Depending on the advertising network, you may be able to opt out of this – as with the Google Ads Preferences page, which also shows the advertising categories you’ve been assigned by Google based on the websites you’ve been tracked across.

Tracking networks can also use the data for other purposes – for example, selling aggregated browsing data to others.

Managing Your Browser’s Cookies

You can manage your browser’s cookies from its settings window. Each browser’s Clear Private Data tool will also delete cookies. For information on viewing and clearing your browser’s cookies.
__________________________________________________________________
One problem with clearing cookies is that it will log you out of sites you use. If you want to stay logged into the websites you use but block other websites from using cookies, check out our guide to blocking all cookies except for the sites you use. Bear in mind that some websites won’t work properly if you disable cookies for them.


It’s not a miracle, but these helpful tips can improve the quality of an image when enlarging from a low-resolution sample. It’s surprisingly simple and quite easy. Fire up Photoshop and check it out for yourself!
At How-To Geek, we’ve written extensively about how it’s impossible to “enhance” images and reclaim detail that is lost or isn’t there to begin with. Are we changing our tune? Nope, there’s nothing magical about these tips, except for the improved results you’ll get when you improve your own low resolution images. Keep reading and give it a shot!

A Better Way to Enlarge Images



Here’s our image at our starting point. This is zoomed to 100%, only a paltry 150 pixels wide.


As we can see, this is painfully low resolution. Let’s improve things somewhat with a basic enlargement.


Navigate to Image > Image Size. Where it says “Resample Image” you can change the type of anti-aliasing used to enlarge and smooth the image. Change it to “Bicubic Smoother (best for enlargement).” By default, Photoshop uses “Bicubic.”

Notice the difference in the Bicubic Smoother version on the left versus the basic “Bicubic” enlargement on the right. Changing the type of anti-aliasing can make a huge difference the edges in your image, helping to keep them smoother, less jaggy. This can make a big difference

Improving Detail in Enlarged Images



Most Photoshop users don’t go beyond RGB or CMYK. Today, we’ll be using a different color mode called Lab Color. Switch any enlarged image (we’re going to be using our image from before) and change it to Lab color by navigating to Image > Mode > Lab Color.


Make sure you have a channels panel open by going to Window > Channels. Then select the “Lightness” channel or click thebeside the a and b channels as shown.


With “Lightness” selected, we’ll perform a Smart Sharpen filter by going to Filter > Smart Sharpen.


The settings above worked for our example quite well, but feel free to fiddle around and find your own. You’ll probably want to keep your “Remove” setting to “Gaussian Blur” as shown above.


You can remain in Lab Color or convert back to RGB. Unlike a conversion between RGB and CMYK, RGB converts perfectly to Lab without any noticeable color shift. In either color mode, select your combined channelset by pressing Ctrl + 2.

It’s not perfect, but the comparison of before and after is pretty dramatic. Our updated image (on the right) has a much richer skin texture and doesn’t look like it was enlarged nearly 2000% from an image 150 pixels wide.
__________________________________________________________________

While our “enhanced” image cannot ever reclaim the detail of the original high-resolution image, we can, at a cursory glance, say that we’ve improved our image quality, both with the typography and with the photo of the girl. Not satisfied with these tricks? Have some better ones of your own? Sound off in the comments section and let us know what you use when you have to improve a low quality image.