The HTML5 API that we are going to use is ‘File API’. This API provide several interfaces for us to access a file from local file system. File: Provides information such as, name of the file, size, and mimetype. Blob: Which allows slice a file into byte ranges. FileList: A collection / array of file objects. FileReader: An interface can be used to read the information from the the images. In this tutorial, we are going to mainly cover interface of FileReader at the moment, and we will talk about the rest in the upcoming tutorial. Ok, before we start,
Read full article from Create Thumbnail Preview of Images Using HTML5 API | onlyWebPro
No comments:
Post a Comment