{"id":8026,"date":"2020-06-17T11:50:12","date_gmt":"2020-06-17T08:50:12","guid":{"rendered":"https:\/\/ssrlab.by\/?p=8026"},"modified":"2020-12-15T12:50:41","modified_gmt":"2020-12-15T09:50:41","slug":"generatar-qr-koda","status":"publish","type":"post","link":"https:\/\/ssrlab.by\/en\/8026","title":{"rendered":"QR Code Generator"},"content":{"rendered":"<p>QR Code Generator\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-8031\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-1.png\" alt=\"\" width=\"1196\" height=\"199\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-1.png 1196w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-1-300x50.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-1-1024x170.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-1-768x128.png 768w\" sizes=\"(max-width: 1196px) 100vw, 1196px\" \/><\/a><\/span><\/p>\n<p align=\"center\"><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041c\u0430\u043b\u044e\u043d\u0430\u043a 1 \u2013 \u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u0446\u043a\u0456 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441 \u0441\u044d\u0440\u0432\u0456\u0441\u0430 <\/span>\u00ab\u0413\u0435\u043d\u0435\u0440\u0430\u0442<span lang=\"be-BY\">\u0430<\/span>\u0440 <span lang=\"en-US\">QR<\/span>-\u043a\u043e\u0434\u0430\u00bb<\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a \u043c\u0430\u0435 \u043c\u0430\u0433\u0447\u044b\u043c\u0430\u0441\u0446\u044c \u0443\u0432\u0435\u0441\u0446\u0456 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u044f \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u044f \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0430\u0433\u0430 \u043f\u0435\u0440\u0430\u0442\u0432\u0430\u0440\u044d\u043d\u043d\u044f \u045e <\/span><span lang=\"en-US\">QR<\/span><span lang=\"be-BY\">-\u043a\u043e\u0434 \u0443 \u0441\u043f\u0435\u0446\u044b\u044f\u043b\u044c\u043d\u0430\u0435 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u0430\u0435 \u043f\u043e\u043b\u0435. \u0414\u0430\u0434\u0437\u0435\u043d\u0430\u0435 \u043f\u043e\u043b\u0435 \u0437\u0430\u0431\u044f\u0441\u043f\u0435\u0447\u0430\u043d\u0430\u0435 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0456 \u00ab\u0410\u0431\u043d\u0430\u0432\u0456\u0446\u044c\u00bb (\u0432\u044f\u0440\u0442\u0430\u043d\u043d\u0435 \u0434\u0430 \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u0445 \u043f\u0430 \u0437\u043c\u0430\u045e\u0447\u0430\u043d\u043d\u0456) \u0456 \u00ab\u0410\u0447\u044b\u0441\u0446\u0456\u0446\u044c\u00bb (\u0432\u044b\u0434\u0430\u043b\u0435\u043d\u043d\u0435 \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u0445 \u0437 \u043f\u043e\u043b\u044f).<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041a\u0430\u0431 \u0430\u0442\u0440\u044b\u043c\u0430\u0446\u044c <\/span><span lang=\"en-US\">QR<\/span><span lang=\"be-BY\">-\u043a\u043e\u0434, \u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a \u043f\u0430\u0432\u0456\u043d\u0435\u043d \u043d\u0430\u0446\u0456\u0441\u043d\u0443\u0446\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0433\u0435\u043d\u0435\u0440\u0430\u0432\u0430\u0446\u044c!\u00bb, \u0440\u0430\u0437\u043c\u0435\u0448\u0447\u0430\u043d\u0443\u044e \u043f\u0430\u0434 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u043c \u043f\u043e\u043b\u0435\u043c \u0443\u0432\u043e\u0434\u0443.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041c\u0430\u0433\u0447\u044b\u043c\u044b \u0432\u044b\u043d\u0456\u043a \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u044d\u0440\u0432\u0456\u0441\u0430 \u043f\u0440\u0430\u0434\u0441\u0442\u0430\u045e\u043b\u0435\u043d\u044b \u043d\u0430 \u043c\u0430\u043b\u044e\u043d\u043a\u0443 2.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-2.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group8026\" title=\"QR Code Generator\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-8032\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-2.png\" alt=\"\" width=\"1200\" height=\"505\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-2.png 1200w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-2-300x126.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-2-1024x431.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/generatar-qr-koda-2-768x323.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/span><\/p>\n<p align=\"center\"><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041c\u0430\u043b\u044e\u043d\u0430\u043a 2 \u2013 \u0412\u044b\u043d\u0456\u043a \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u044d\u0440\u0432\u0456\u0441\u0430<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a \u043c\u043e\u0436\u0430 \u0437\u0430\u0445\u0430\u0432\u0430\u0446\u044c \u0433\u0440\u0430\u0444\u0456\u0447\u043d\u044b \u0444\u0430\u0439\u043b \u0437 <\/span><span lang=\"en-US\">QR<\/span><span lang=\"be-BY\">-\u043a\u043e\u0434\u0430\u043c, \u0432\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u043e\u045e\u0432\u0430\u044e\u0447\u044b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u044f \u0444\u0443\u043d\u043a\u0446\u044b\u0456 \u0431\u0440\u0430\u045e\u0437\u0435\u0440\u0430. \u0410\u0434\u043d\u0430\u043a \u0434\u043b\u044f \u0437\u0440\u0443\u0447\u043d\u0430\u0441\u0446\u0456 \u043f\u0430\u0441\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u044b\u0456 <\/span><span lang=\"en-US\">QR<\/span><span lang=\"be-BY\">-\u043a\u043e\u0434\u0430 \u045e \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441\u0435 \u0442\u0430\u043a\u0441\u0430\u043c\u0430 \u0437\u2019\u044f\u045e\u043b\u044f\u0435\u0446\u0446\u0430 \u0441\u043f\u0430\u0441\u044b\u043b\u043a\u0430 \u00ab\u0421\u043f\u0430\u043c\u043f\u0430\u0432\u0430\u0446\u044c\u00bb.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\"><b>\u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u0446\u043a\u0456 \u0441\u0446\u044d\u043d\u0430\u0440 \u043f\u0440\u0430\u0446\u044b \u0437 \u0441\u044d\u0440\u0432\u0456\u0441\u0430\u043c<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">1. \u0423\u0432\u0435\u0441\u0446\u0456 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u044f \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u044f \u045e \u043f\u043e\u043b\u0435 \u045e\u0432\u043e\u0434\u0443<br \/>\n2. \u041d\u0430\u0446\u0456\u0441\u043d\u0443\u0446\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0433\u0435\u043d\u0435\u0440\u0430\u0432\u0430\u0446\u044c!\u00bb<br \/>\n3. \u0417\u0430\u0445\u0430\u0432\u0430\u0446\u044c \u0432\u044b\u043d\u0456\u043a \u0440\u0430\u0431\u043e\u0442\u044b (\u0433\u0440\u0430\u0444\u0456\u0447\u043d\u044b \u0444\u0430\u0439\u043b)<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\"><b>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0430 \u043f\u0440\u0430\u0437 <\/b><\/span><span lang=\"en-US\"><b>API<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0430 <\/span>\u00ab\u0413\u0435\u043d\u0435\u0440\u0430\u0442<span lang=\"be-BY\">\u0430<\/span>\u0440 <span lang=\"en-US\">QR<\/span>-\u043a\u043e\u0434\u0430\u00bb<span lang=\"be-BY\"> \u043f\u0440\u0430\u0437 <\/span><span lang=\"en-US\">API<\/span> <span lang=\"be-BY\">\u043d\u0435\u0430\u0431\u0445\u043e\u0434\u043d\u0430 \u0430\u0434\u043f\u0440\u0430\u0432\u0456\u0446\u044c <\/span><span lang=\"en-US\">AJAX<\/span>&#8211;<span lang=\"be-BY\">\u0437\u0430\u043f\u044b\u0442 \u0442\u044b\u043f\u0443 <\/span><span lang=\"en-US\">POST<\/span> \u043d\u0430<span lang=\"be-BY\"> \u0430\u0434\u0440\u0430\u0441 <\/span><span style=\"color: #333333;\">https:\/\/corpus.by\/QRCodeGenerator\/api.php<\/span>.<\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u045e\u0432\u0430\u0445\u043e\u0434\u043d\u0430\u0433\u0430 \u043c\u0430\u0441\u0456\u0432\u0443 <\/span><span lang=\"en-US\">data<\/span> <span lang=\"be-BY\">\u043c\u0430\u044e\u0446\u044c \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">localization<\/span><span lang=\"be-BY\"> \u2013 \u043c\u043e\u0432\u0430 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441\u0443 \u0441\u044d\u0440\u0432\u0456\u0441\u0430. \u041a\u0430\u043b\u0456 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043d\u0435 \u0437\u0430\u0434\u0430\u0434\u0437\u0435\u043d\u044b, \u043f\u0430 \u0437\u043c\u0430\u045e\u0447\u0430\u043d\u043d\u0456 \u0431\u0443\u0434\u0437\u0435 \u0432\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043d\u0430 \u0430\u043d\u0433\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u043c\u043e\u0432\u0430 (\u201c<\/span><span lang=\"en-US\">en<\/span><span lang=\"be-BY\">\u201d).<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">url<\/span><span lang=\"be-BY\"> \u2013 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u044f \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0430\u045e\u0442\u0432\u0430\u0440\u044d\u043d\u043d\u044f \u045e <\/span><span lang=\"en-US\">QR<\/span><span lang=\"be-BY\">-\u043a\u043e\u0434. \u041a\u0430\u043b\u0456 \u043d\u0435 \u0437\u0430\u0434\u0430\u0434\u0437\u0435\u043d\u044b, \u043f\u0430 \u0437\u043c\u0430\u045e\u0447\u0430\u043d\u043d\u0456 \u0431\u0443\u0434\u0437\u0435 \u0432\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043d\u044b \u043f\u0443\u0441\u0442\u044b \u0440\u0430\u0434\u043e\u043a.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u041f\u0440\u044b\u043a\u043b\u0430\u0434 <\/span><span lang=\"en-US\">AJAX<\/span><span lang=\"be-BY\">-\u0437\u0430\u043f\u044b\u0442\u0443:<\/span><\/span><\/p>\n<blockquote><p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">$.<\/span><span lang=\"en-US\">ajax<\/span><span lang=\"be-BY\">({<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">type<\/span><span lang=\"be-BY\">: \u201c<\/span><span lang=\"en-US\">POST<\/span><span lang=\"be-BY\">\u201d,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">url: \u201c<\/span><span style=\"color: #333333;\"><span lang=\"en-US\">https:\/\/corpus.by\/QRCodeGenerator\/api.php<\/span><span lang=\"en-US\">\u201d,<\/span><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> data:{<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> \u201clocalization\u201d: \u201cen\u201d<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> \u201curl\u201d: \u201chttps:\/\/corpus.by\u201d<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> }<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> Success: function(msg){}<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">});<\/span><\/span><\/p><\/blockquote>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435 <\/span><span lang=\"en-US\">JSON-<\/span><span lang=\"be-BY\">\u043c\u0430\u0441\u0456\u045e \u0437 \u0443\u0432\u0430\u0445\u043e\u0434\u043d\u044b\u043c\u0456 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u043c\u0456 \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u043c\u0456 (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <\/span><span lang=\"en-US\">url<\/span><span lang=\"be-BY\">), \u0441\u0444\u0430\u0440\u043c\u0456\u0440\u0430\u0432\u0430\u043d\u044b\u043c <\/span><span lang=\"en-US\">GET-<\/span><span lang=\"be-BY\">\u0437\u0430\u043f\u044b\u0442\u0430\u043c \u0434\u0430 <\/span><span lang=\"en-US\">QR Codes API<\/span><span lang=\"be-BY\"> (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <\/span><span lang=\"en-US\">resultUrl),<\/span><span lang=\"be-BY\"> \u0430\u0434\u043d\u043e\u0441\u043d\u0430\u0439 \u0441\u043f\u0430\u0441\u044b\u043b\u043a\u0430\u0439 \u043d\u0430 \u043c\u0435\u0441\u0446\u0430\u0437\u043d\u0430\u0445\u043e\u0434\u0436\u0430\u043d\u043d\u0435 \u0433\u0440\u0430\u0444\u0456\u0447\u043d\u0430\u0433\u0430 \u0444\u0430\u0439\u043b\u0430 <\/span><span lang=\"en-US\">QR-<\/span><span lang=\"be-BY\">\u043a\u043e\u0434\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u044b (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 resultFilepath) \u0456 \u0456\u043c\u0435\u043d\u0435\u043c \u0444\u0430\u0439\u043b\u0430 (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 resultFilename). \u041d\u0430\u043f\u0440\u044b\u043a\u043b\u0430\u0434, \u043f\u0430 \u043f\u0440\u044b\u0432\u0435\u0434\u0437\u0435\u043d\u044b\u043c \u0432\u044b\u0448\u044d\u0439 <\/span><span lang=\"en-US\">AJAX<\/span>&#8211;<span lang=\"be-BY\">\u0437\u0430\u043f\u044b\u0446\u0435 \u043c\u043e\u0436\u0430 \u0431\u044b\u0446\u044c \u0441\u0444\u0430\u0440\u043c\u0456\u0440\u0430\u0432\u0430\u043d\u044b \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b \u0430\u0434\u043a\u0430\u0437:<\/span><\/span><\/p>\n<blockquote><p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">[<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">{<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;url&#8221;: &#8220;https:\/\/corpus.by&#8221;,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;resultUrl&#8221;: &#8220;http:\/\/chart.apis.google.com\/chart?chs=150&#215;150&amp;cht=qr&amp;chld=L|0&amp;chl=https%3A%2F%2Fcorpus.by&#8221;,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;resultFilepath&#8221;: &#8220;..\/_cache\/QRCodeGenerator\/out\/2020-03-06_15-31-18_80-94-171-2_874_out.png&#8221;,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;resultFilename&#8221;: &#8220;2020-03-06_15-31-18_80-94-171-2_874_out.png&#8221;<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">}<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">]<\/span><\/span><\/p><\/blockquote>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">\u0421\u0442\u0430\u0440\u043e\u043d\u043a\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0430<\/span><span lang=\"en-US\"> \u2013 <\/span><span style=\"color: #0000ff;\"><span lang=\"en-US\"><u>https:\/\/corpus.by\/QRCodeGenerator\/?lang=be<\/u><\/span><\/span><\/span><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The <a href=\"https:\/\/corpus.by\/QRCodeGenerator\/?lang=en\"><strong>\u00abQR Code Generator\u00bb<\/strong><\/a> service gives the user an opportunity to receive a graphic QR code equivalent to a text, link, e-mail address or other data in a text format. Currently, the maximum input length is limited to 100 symbols.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>Basic terms and concepts<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><i>QR code<\/i><\/span><span lang=\"en-US\"> (Quick Response Code) \u2013 a popular two-dimensional barcode format. These codes are also known as \u00abhard links\u00bb or \u00abhyperlinks of the physical world\u00bb. The text encrypted with a QR code can be anything \u2013 for example, a URL, contact information, even a poem. Technically, a small (up to approximately 3 Kb) graphic or audio information in binary format can also be converted into a QR code. QR codes can be read by an optical device with appropriate software. Such devices range from special QR code readers to mobile phones. QR code technology patent JP2938338 (in English translation) \u2013 https:\/\/patents.google.com\/patent\/JP2938338B2\/en<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><i>GET method<\/i><\/span><span lang=\"en-US\"> \u2013 a method for requesting the contents of a specified resource. This method is the most common. A GET request is a transfer of data having the syntax http:\/\/domain\/page?[Parameter1=value1]&amp;[parameter2=value2]&amp;&#8230;&amp;[parameterX=valueX]. Data entry begins with the character ?, the data pairs \u00abparameter= value\u00bb are separated by the ampersand character (&amp;).<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>Practical value<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The practical value of the service is determined primarily by the degree of prevalence, ease of use and areas of using of QR codes. Among the areas and methods of using are the following: product tracking, item identification, time tracking, document management, general marketing.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">More specifically, the service will be useful to manufacturers of various goods who want to provide products or their packaging with additional information that can be read from a mobile device, to service providers who want to place additional information (types of services, contact details) on their advertising products (posters, banners, leaflets, billboards, etc.), to the organizers of various events, including fundraising events using SMS messages. QR codes obtained using our service can also be used in the field of education to supply educational material with additional, easily readable information, or data necessary for educational applications working with augmented reality.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>Service features<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">1) The service does not produce QR codes on its own, but generates the correct GET request to the QR Codes API hosted on Google Charts and presents the results of its work. This leads to two circumstances:<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8211; offline work with the service is impossible;<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8211; the final format of the graphic file matches the format in which the API packs the result (this is the PNG format).<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The speed and quality of the algorithms of the API have been repeatedly tested by us and found to be satisfactory.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">2) Due to the features of the software implementation<\/span><span lang=\"en-US\">,<\/span><span lang=\"be-BY\"> at the moment the maximum allowable length of the input text is 100 characters.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">3) The resolution of the final file of the QR code is 150&#215;150 pixels.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>Service work algorithm<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Algorithm input data:<\/span><\/span><\/p>\n<ul>\n<li><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">User text input, UText;<\/span><\/span><\/li>\n<li><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Size of the final graphic file on the X and Y axis, Size;<\/span><\/span><\/li>\n<li><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Error correction level (in case of loss, misinterpretation or ambiguity of data), ErrLevel;<\/span><\/span><\/li>\n<li><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The width of the white border around the graphic data, Marg.<\/span><\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The beginning of the algorithm.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Step 1. Receiving text data UText from the user.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Step 2. Determinating values of parameters Size (150), ErrLevel (\u201cL\u201d), Marg (0). Formation of the set &lt;Size (X), Size (Y), ErrLevel, Marg, Utext&gt;.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Step 3. Generating a GET request to the QR Codes API basing on the values of the elements of the set &lt;Size (X), Size (Y), ErrLevel, Marg, Utext&gt;.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Step 4. Sending the GET request to the QR Codes API.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Step 5. Obtaining results in graphical format and displaying them to the user.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The end of the algorithm.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>User interface description<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The graphical interface of the service is shown in Figure 1.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-1.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group8026\" title=\"QR Code Generator\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-8028\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-1.png\" alt=\"\" width=\"1209\" height=\"273\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-1.png 1209w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-1-300x68.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-1-1024x231.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-1-768x173.png 768w\" sizes=\"(max-width: 1209px) 100vw, 1209px\" \/><\/a><\/span><\/p>\n<p align=\"center\"><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Figure 1 \u2013 The user interface of the service \u00abQR code generator\u00bb<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"be-BY\">The user has the opportunity to enter text data for subsequent conversion into a QR code in a special text field. This field is equipped with the <\/span><span lang=\"en-US\">\u00ab<\/span><span lang=\"be-BY\">Refresh<\/span><span lang=\"en-US\">\u00bb<\/span><span lang=\"be-BY\"> button (return to default data) and the <\/span><span lang=\"en-US\">\u00ab<\/span><span lang=\"be-BY\">Clear<\/span><span lang=\"en-US\">\u00bb<\/span><span lang=\"be-BY\"> button (deleting data from the field).<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">To get a QR code, the user must click the \u00abGenerate!\u00bb button located under the text input field.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">A possible result of the service work is presented in Figure 2.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-2.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group8026\" title=\"QR Code Generator\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-8029\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-2.png\" alt=\"\" width=\"1209\" height=\"566\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-2.png 1209w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-2-300x140.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-2-1024x479.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2020\/06\/qr-code-generator-2-768x360.png 768w\" sizes=\"(max-width: 1209px) 100vw, 1209px\" \/><\/a><\/span><\/p>\n<p align=\"center\"><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Figure 2 \u2013 The result of the service work<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The user can save the graphic file with a QR code using standard browser functions. However, for convenience, after generating the QR code, the \u201cDownload\u201d link also appears in the interface.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>User scenario of work with the service<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">1. Enter text data in the input field<br \/>\n2. Click the \u00abGenerate!\u00bb button<br \/>\n3. Save the result of the work (graphic file)<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"><b>Access to the service via the API<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">To access the \u00abQR Code Generator\u00bb service via the API, you need to send an AJAX request of the POST type to the address <\/span><span lang=\"en-US\">https:\/\/corpus.by\/QRCodeGenerator\/api.php<\/span><span lang=\"en-US\">.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Elements of the input data array have the following parameters:<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">localization \u2013 the language of the service interface. If this parameter is not specified, the default language will be English (\u201cen\u201d).<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">url \u2013 text data to convert to a QR code. If not specified, an empty string will be used by default.<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">An example of AJAX request:<\/span><\/span><\/p>\n<blockquote><p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">$.ajax({<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> type: \u201cPOST\u201d,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> url: \u201c<\/span><span lang=\"en-US\">https:\/\/corpus.by\/QRCodeGenerator\/api.php<\/span><span lang=\"en-US\">\u201d,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> data:{<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> \u201clocalization\u201d: \u201cen\u201d<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> \u201curl\u201d: \u201chttps:\/\/corpus.by\u201d<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> }<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\"> Success: function(msg){}<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">});<\/span><\/span><\/p><\/blockquote>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">The server will return a JSON array with the input text data (url parameter), generated GET request to the QR Codes API (resultUrl parameter), a relative link to the location of the QR code graphic file on the server (resultFilepath parameter) and file name (resultFilename parameter). For example, by the above AJAX request, the following response can be generated:<\/span><\/span><\/p>\n<blockquote><p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">[<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">{<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;url&#8221;: &#8220;https:\/\/corpus.by&#8221;,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;resultUrl&#8221;: &#8220;http:\/\/chart.apis.google.com\/chart?chs=150&#215;150&amp;cht=qr&amp;chld=L|0&amp;chl=https%3A%2F%2Fcorpus.by&#8221;,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;resultFilepath&#8221;: &#8220;..\/_cache\/QRCodeGenerator\/out\/2020-03-06_15-31-18_80-94-171-2_874_out.png&#8221;,<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">&#8220;resultFilename&#8221;: &#8220;2020-03-06_15-31-18_80-94-171-2_874_out.png&#8221;<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">}<\/span><\/span><\/p>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">]<\/span><\/span><\/p><\/blockquote>\n<p><span style=\"font-family: helvetica, arial, sans-serif; font-size: 16px;\"><span lang=\"en-US\">Service page \u2013 <\/span><span style=\"color: #0563c1;\"><u><a href=\"https:\/\/corpus.by\/QRCodeGenerator\/?lang=be\"><span lang=\"en-US\">https:\/\/corpus.by\/QRCodeGenerator\/?lang=be<\/span><\/a><\/u><\/span><\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>QR Code Generator&#8221;> \u041c\u0430\u043b\u044e\u043d\u0430\u043a 1 \u2013 \u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u0446\u043a\u0456 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441 \u0441\u044d\u0440\u0432\u0456\u0441\u0430 \u00ab\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u0430\u0440 QR-\u043a\u043e\u0434\u0430\u00bb \u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a \u043c\u0430\u0435 \u043c\u0430\u0433\u0447\u044b\u043c\u0430\u0441\u0446\u044c \u0443\u0432\u0435\u0441\u0446\u0456 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u044f \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u044f \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0430\u0433\u0430 \u043f\u0435\u0440\u0430\u0442\u0432\u0430\u0440\u044d\u043d\u043d\u044f \u045e QR-\u043a\u043e\u0434 \u0443 \u0441\u043f\u0435\u0446\u044b\u044f\u043b\u044c\u043d\u0430\u0435 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u0430\u0435 \u043f\u043e\u043b\u0435. \u0414\u0430\u0434\u0437\u0435\u043d\u0430\u0435 \u043f\u043e\u043b\u0435 \u0437\u0430\u0431\u044f\u0441\u043f\u0435\u0447\u0430\u043d\u0430\u0435 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0456 \u00ab\u0410\u0431\u043d\u0430\u0432\u0456\u0446\u044c\u00bb (\u0432\u044f\u0440\u0442\u0430\u043d\u043d\u0435 \u0434\u0430 \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u0445 \u043f\u0430 \u0437\u043c\u0430\u045e\u0447\u0430\u043d\u043d\u0456) \u0456 \u00ab\u0410\u0447\u044b\u0441\u0446\u0456\u0446\u044c\u00bb (\u0432\u044b\u0434\u0430\u043b\u0435\u043d\u043d\u0435 \u0434\u0430\u0434\u0437\u0435\u043d\u044b\u0445 \u0437 \u043f\u043e\u043b\u044f). \u041a\u0430\u0431 \u0430\u0442\u0440\u044b\u043c\u0430\u0446\u044c QR-\u043a\u043e\u0434, \u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a \u043f\u0430\u0432\u0456\u043d\u0435\u043d \u043d\u0430\u0446\u0456\u0441\u043d\u0443\u0446\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0433\u0435\u043d\u0435\u0440\u0430\u0432\u0430\u0446\u044c!\u00bb, \u0440\u0430\u0437\u043c\u0435\u0448\u0447\u0430\u043d\u0443\u044e \u043f\u0430\u0434 \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u044b\u043c \u043f\u043e\u043b\u0435\u043c \u0443\u0432\u043e\u0434\u0443. [&hellip;]<\/p>\n<a class = \"excerpt\" href=\"https:\/\/ssrlab.by\/en\/8026\">Read more...<\/a>","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/8026"}],"collection":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/comments?post=8026"}],"version-history":[{"count":9,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/8026\/revisions"}],"predecessor-version":[{"id":8043,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/8026\/revisions\/8043"}],"wp:attachment":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/media?parent=8026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/categories?post=8026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/tags?post=8026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}