Determining file suitablility before uploading using HTML5 File API

Determining file suitablility before uploading using HTML5 File API

Today I wanted to write about HTML5’s File API. In the past, a developer would generally write code to determine if a file type was appropriate after the file had been uploaded. This would quite often be annoying for a user especially if the file was large and they only find out that it is inappropriate after it has finished uploading. Now, using the File API, the web page can determine if a file is acceptable before the user uploads it. In fact, not only can you gather the file type but you can find out other information about a file before committing to upload, such as the file size

Converting photographs to black and white or sepia using Photoshop

Converting photographs to black and white or sepia using Photoshop

I had to convert a photograph to black and white recently and I remember from many years ago having a problem trying to achieve this. It was a simple automated task in many other photo editing tools (including Photoshop Elements) but I couldn’t figure it out in the full version of Photoshop (I think it was CS2 but may have been earlier). I can’t remember when Camera Raw was introduced to Photoshop but that was where the functionality could be found (Convert to Grayscale option at the top of the HSL/Grayscale tab). It makes a good guess at a black and white conversion and you can use the sliders to