{"json_modified": "2016-10-11T21:14:55.394251", "uuid": "9bce8970-3f4f-4994-b4cd-968f2c6eefe9", "title": "FileReader.readAsDataURL()", "url": "/en-US/docs/Web/API/FileReader/readAsDataURL", "tags": ["Files", "Reference", "Method", "API", "File API"], "translations": [{"uuid": "0408087b-38e9-4a86-af81-236939f4bd27", "title": "FileReader.readAsDataURL()", "url": "/es/docs/Web/API/FileReader/readAsDataURL", "tags": ["metodo", "Metodo", "Archivos", "Referencia"], "summary": "El m\u00e9todo\u00a0readAsDataURL\u00a0es usado para leer el contenido del especificado\u00a0Blob o\u00a0File. \u00a0Cuando la operaci\u00f3n de lectura es terminada,\u00a0el\u00a0readyState se convierte en\u00a0DONE, y\u00a0el\u00a0loadend es\u00a0lanzado. En ese momento, el\u00a0atributo\u00a0result contiene\u00a0 la\u00a0informaci\u00f3n\u00a0como una\u00a0URL representando la informaci\u00f3n del archivo como una\u00a0cadena de caracteres codificados en\u00a0base64.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-12-19T10:18:47", "review_tags": []}, {"uuid": "a853ed0e-81b2-42b8-8863-9ace223cc4c3", "title": "FileReader.readAsDataURL()", "url": "/ja/docs/Web/API/FileReader/readAsDataURL", "tags": [], "summary": "readAsDataURL \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f Blob \u306a\u3044\u3057 File \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u8aad\u8fbc\u51e6\u7406\u304c\u7d42\u4e86\u3059\u308b\u3068 readyState \u306f DONE \u306b\u5909\u308f\u308a\u3001 loadend \u30a4\u30d9\u30f3\u30c8\u304c\u751f\u3058\u307e\u3059\u3002\u305d\u308c\u3068\u540c\u6642\u306b result \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u8868\u3059\u3001base64 \u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3055\u308c\u305f data: URL \u306e\u6587\u5b57\u5217\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-03-14T22:45:08", "review_tags": []}, {"uuid": "1b285756-c495-4e55-92c3-9929beee2448", "title": "FileReader.readAsDataURL()", "url": "/ko/docs/Web/API/FileReader/readAsDataURL", "tags": [], "summary": "", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-10-11T21:14:48", "review_tags": []}, {"uuid": "7af7a5d3-54d9-4a16-8d65-e6595013d6e0", "title": "FileReader.readAsDataURL()", "url": "/pt-BR/docs/Web/API/FileReader/readAsDataURL", "tags": ["Files", "API", "Method", "Image Preview", "File API"], "summary": "O m\u00e9todo readAsDataURL \u00e9 usado para ler o conte\u00fado do tipo\u00a0Blob ou File.
\n Quando a opera\u00e7\u00e3o de leitura acaba, a flag\u00a0readyState muda para DONE\u00a0e o evento\u00a0loadend \u00e9 disparado.
\n Ent\u00e3o o\u00a0atributo\u00a0result ir\u00e1 conter a URL codificada\u00a0em\u00a0base64 do arquivo.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-07-16T07:12:36", "review_tags": ["technical"]}, {"uuid": "84dc7de2-6d0a-414d-9796-c5167875e9b0", "title": "FileReader.readAsDataURL()", "url": "/ru/docs/Web/API/FileReader/readAsDataURL", "tags": [], "summary": "\u041c\u0435\u0442\u043e\u0434\u00a0readAsDataURL \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u00a0\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e Blob \u0438\u043b\u0438 File.\u041a\u043e\u0433\u0434\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f, readyState \u043f\u0440\u0438\u043c\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0DONE, \u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u043d\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0435 loadend. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f, \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u00a0\u00a0result \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435\u00a0\u043a\u0430\u043a URL, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0444\u0430\u0439\u043b, \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0439 \u0432\u00a0base64 \u0441\u0442\u0440\u043e\u043a\u0443.", "localization_tags": [], "locale": "ru", "last_edit": "2015-12-19T05:15:23", "review_tags": ["editorial"]}, {"uuid": "913d334b-f774-4c3e-a19e-849085904ad6", "title": "FileReader.readAsDataURL()", "url": "/tr/docs/Web/API/FileReader/readAsDataURL", "tags": [], "summary": "The readAsDataURL method is used to read the contents of the specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains\u00a0 the data as a URL representing the file's data as a base64 encoded string.", "localization_tags": ["inprogress"], "locale": "tr", "last_edit": "2015-12-21T01:42:48", "review_tags": []}], "modified": "2016-01-17T22:21:50", "label": "FileReader.readAsDataURL()", "localization_tags": [], "locale": "en-US", "id": 83323, "last_edit": "2016-01-17T22:21:47", "summary": "The readAsDataURL method is used to read the contents of the specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains\u00a0 the data as a URL representing the file's data as a base64 encoded string.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Example", "title": "Example"}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Live_Result", "title": "Live Result"}, {"id": "Example_reading_multiple_files", "title": "Example reading multiple files"}, {"id": "HTML_2", "title": "HTML"}, {"id": "JavaScript_2", "title": "JavaScript"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/FileReader/readAsDataURL", "review_tags": []}