{"id":472661,"date":"2025-08-30T15:00:43","date_gmt":"2025-08-30T15:00:43","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=472661"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=472661","title":{"rendered":"<span>\u041e\u0436\u0438\u0432\u0448\u0438\u0435 \u0444\u043e\u0442\u043e: \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0443\u0434\u0438\u043e\u043f\u043b\u0435\u0435\u0440 \u043d\u0430 Python \u0438 PyQt6<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>\u0412\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0445\u043e\u0442\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0448\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043c\u043e\u0433\u043b\u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u0438? \u041d\u0435 \u0432 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435, \u0430 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e. \u0410 \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0431\u044b \u044d\u0442\u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0431\u044b\u043b\u0438 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b <strong>\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0432\u0430\u0441<\/strong>? \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u0432\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u0443 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0441 \u0432\u0438\u0434\u0443 PNG-\u0444\u0430\u0439\u043b, \u043d\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0433\u043e \u0441\u043a\u0440\u044b\u0442\u043e \u043b\u0438\u0447\u043d\u043e\u0435 \u0430\u0443\u0434\u0438\u043e\u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438\u043b\u0438 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440. \u0418\u043b\u0438 \u0432\u0435\u0434\u0435\u0442\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0444\u043e\u0442\u043e\u0434\u043d\u0435\u0432\u043d\u0438\u043a, \u0433\u0434\u0435 \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u043c \u0441\u043d\u0438\u043c\u043a\u043e\u043c \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0441 \u0432\u0430\u0448\u0438\u043c\u0438 \u043c\u044b\u0441\u043b\u044f\u043c\u0438, \u043d\u0430\u0434\u0435\u0436\u043d\u043e \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u0430\u044f \u043e\u0442 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0433\u043b\u0430\u0437.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u043c\u0430\u0433\u0438\u044f, \u0430 \u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u044f. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0435 <a href=\"https:\/\/habr.com\/ru\/articles\/941704\/\" rel=\"noopener noreferrer nofollow\"><strong>ChameleonLab<\/strong><\/a>, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u2014 \u043e \u0435\u0433\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438: <strong>\u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440\u0435<\/strong>. \u042d\u0442\u043e \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u043d\u043e \u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u044c \u0438\u0445, \u043a\u0430\u043a \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u043f\u043b\u0435\u0435\u0440\u0435, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u043d\u043e\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043c\u0435\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439. \u041f\u0440\u043e\u0435\u043a\u0442 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 <strong>\u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f Windows \u0438 macOS<\/strong>.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/660\/17b\/f27\/66017bf273cae85490ff44470c1aec5f.png\" alt=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &quot;ChameleonLab&quot;. \u0421\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440\" title=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &quot;ChameleonLab&quot;. \u0421\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440\" width=\"1447\" height=\"863\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/660\/17b\/f27\/66017bf273cae85490ff44470c1aec5f.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/660\/17b\/f27\/66017bf273cae85490ff44470c1aec5f.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &#171;ChameleonLab&#187;. \u0421\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440<\/figcaption><\/div>\n<\/figure>\n<h2>\u0417\u0430\u0447\u0435\u043c \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e? \u041f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e<\/h2>\n<p>\u0418\u0434\u0435\u044f \u043f\u0440\u044f\u0442\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043d\u0435 \u043d\u043e\u0432\u0430. \u041d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0443\u0442\u0438\u043b\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0434\u043b\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u043e\u0432. \u041c\u044b \u0436\u0435 \u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445.<\/p>\n<ul>\n<li>\n<p><strong>\u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/strong> \u0412 \u0446\u0438\u0444\u0440\u043e\u0432\u0443\u044e \u044d\u043f\u043e\u0445\u0443 \u0441\u043b\u043e\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0435\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u0430\u0448 \u043f\u043b\u0435\u0435\u0440 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0440\u0435\u0448\u0435\u043d\u0438\u0435: \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u043b\u044e\u0431\u043e\u0439 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u0430\u043d\u0430\u043b (\u043f\u043e\u0447\u0442\u0443, \u0441\u043e\u0446\u0441\u0435\u0442\u044c), \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0442, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 ChameleonLab, \u0441\u043c\u043e\u0436\u0435\u0442 \u0443\u0437\u043d\u0430\u0442\u044c \u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u043e\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0435\u0433\u043e. \u042d\u0442\u043e \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043b\u0438\u0447\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u043d\u0438\u0439.<\/p>\n<\/li>\n<li>\n<p><strong>&#171;\u0416\u0438\u0432\u044b\u0435&#187; \u0444\u043e\u0442\u043e\u0430\u043b\u044c\u0431\u043e\u043c\u044b<\/strong>: \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0439\u0442\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0430\u0443\u0434\u0438\u043e\u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0438\u043b\u0438 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0435 \u0437\u0432\u0443\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0430\u0448\u0438\u0445 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f\u0445. \u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0440\u0435\u0431\u0435\u043d\u043a\u0430 \u0441 \u0435\u0433\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u0441\u043b\u043e\u0432\u043e\u043c, \u0441\u043d\u0438\u043c\u043e\u043a \u0441 \u043a\u043e\u043d\u0446\u0435\u0440\u0442\u0430 \u0441 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f, \u0444\u043e\u0442\u043e \u0441 \u0434\u043d\u044f \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c PNG-\u0444\u0430\u0439\u043b\u0435, \u0441\u043a\u0440\u044b\u0442\u043e\u0435 \u043e\u0442 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u043e<\/strong>: \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0432\u044b\u0441\u0442\u0430\u0432\u043a\u0443 \u0432 \u043c\u0443\u0437\u0435\u0435 \u0438\u043b\u0438 \u0443\u0440\u043e\u043a \u0418\u0417\u041e. \u0423\u0447\u0435\u043d\u0438\u043a\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0430\u0445 \u0440\u0435\u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u0438 \u043a\u0430\u0440\u0442\u0438\u043d, \u0438 \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u0430 &#171;\u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442&#187; \u0433\u043e\u043b\u043e\u0441\u043e\u043c \u044d\u043a\u0441\u043a\u0443\u0440\u0441\u043e\u0432\u043e\u0434\u0430 \u043e \u0441\u0432\u043e\u0435\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u0430\u0432\u0442\u043e\u0440\u0435 \u0438 \u0442\u0435\u0445\u043d\u0438\u043a\u0435.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442: \u041f\u043e\u0433\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434<\/h2>\n<p>\u0412 \u043e\u0441\u043d\u043e\u0432\u0435 \u0432\u0441\u0435\u0433\u043e \u043b\u0435\u0436\u0438\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 <strong>\u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0438 LSB (Least Significant Bit)<\/strong>. \u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u043c\u044b \u0431\u0435\u0440\u0435\u043c \u043d\u0430\u0438\u043c\u0435\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u0431\u0438\u0442\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 (R, G, B) \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0438\u0445 \u0431\u0438\u0442\u0430\u043c\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b\u0430. \u0414\u043b\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0433\u043b\u0430\u0437\u0430 \u044d\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u044b.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u043e\u0440\u043c\u0430\u0442 <strong>PNG<\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0441\u0436\u0438\u043c\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u044c. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 JPG \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u0433\u0443\u0431\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0435\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0441\u0436\u0430\u0442\u0438\u044f \u0441 \u043f\u043e\u0442\u0435\u0440\u044f\u043c\u0438 \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u0442 \u0438 \u0438\u0441\u043a\u0430\u0437\u044f\u0442 \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e.<\/p>\n<p>\u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430: <strong>\u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c<\/strong> \u0438 <strong>\u041f\u043b\u0435\u0435\u0440<\/strong>.<\/p>\n<h2>\u0428\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c: \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u0430\u0448\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u0430\u0443\u0434\u0438\u043e-\u0444\u043e\u0442\u043e<\/h2>\n<p>\u041c\u044b \u0432\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0432 \u043f\u043b\u0435\u0435\u0440 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 &#171;\u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c&#187;, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c.<\/p>\n<ol>\n<li>\n<p><strong>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440<\/strong>. \u041c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u043b\u0435\u0432\u043e\u0435 \u043e\u043a\u043d\u043e. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f PNG, JPG, BMP. \u041b\u044e\u0431\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0432 PNG.<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b<\/strong>. \u0412 \u043f\u0440\u0430\u0432\u043e\u0435 \u043e\u043a\u043d\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b (<code>.mp3<\/code> \u0438\u043b\u0438 <code>.wav<\/code>).<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c<\/strong>. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442, \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u0441\u044f \u043b\u0438 \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 &#171;\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c&#8230;&#187;, \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0441\u043d\u0438\u0437\u0443 \u0447\u0435\u0440\u043d\u044b\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0435\u043c\u043a\u043e\u0441\u0442\u044c, \u043d\u0435 \u0438\u0441\u043a\u0430\u0436\u0430\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u0435\u043c!<\/strong> \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c&#187;, \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0430\u0448 \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u044b\u0439 PNG-\u0444\u0430\u0439\u043b.<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/320\/577\/dc0\/320577dc0d5a21f1ac33a9e1ee5032ed.png\" alt=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &quot;ChameleonLab&quot;. \u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c\" title=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &quot;ChameleonLab&quot;. \u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c\" width=\"1446\" height=\"865\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/320\/577\/dc0\/320577dc0d5a21f1ac33a9e1ee5032ed.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/320\/577\/dc0\/320577dc0d5a21f1ac33a9e1ee5032ed.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &#171;ChameleonLab&#187;. \u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<h2>\u041f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u00ab\u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044f\u00bb<\/h2>\n<p>\u0417\u0430 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0444\u043e\u043d\u043e\u0432\u044b\u0439 \u0432\u043e\u0440\u043a\u0435\u0440 <code>PlayerCreateWorker<\/code>. \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>steganography_core.hide()<\/code>. \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0430\u0443\u0434\u0438\u043e, \u043c\u044b \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c &#171;\u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443&#187; (payload) \u043f\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c\u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0443:<\/p>\n<p><code>[\u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0432 UTF-8] + [\u0421\u0438\u043c\u0432\u043e\u043b-\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c '|'] + [\u0411\u0430\u0439\u0442\u044b \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b\u0430]<\/code><\/p>\n<p>\u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043c \u043f\u0440\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430. \u0412\u043e\u0440\u043a\u0435\u0440 \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u0441\u044e \u0442\u044f\u0436\u0435\u043b\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443: \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 (\u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e), \u0447\u0438\u0442\u0430\u0435\u0442 \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 <code>stego.hide()<\/code>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u0438.<\/p>\n<p>\u0412\u043e\u0442 \u043a\u043b\u044e\u0447\u0435\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u0438\u0437 <a href=\"http:\/\/workers.py\" rel=\"noopener noreferrer nofollow\"><code>workers.py<\/code><\/a>:<\/p>\n<pre><code class=\"python\"># \u0418\u0437 \u0444\u0430\u0439\u043b\u0430 ui\/workers.py class PlayerCreateWorker(QtCore.QObject):     # ... \u0441\u0438\u0433\u043d\u0430\u043b\u044b ...     def __init__(self, carrier_data, audio_path, n_bits, should_pad):         # ...          def run(self):         try:             # ... \u0440\u0430\u0441\u0447\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 ...              if required_size &gt; capacity_bytes:                 if not self.should_pad:                     raise ValueError(t(\"embed_log_conclusion_fail\"))                                  # \u041b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0445\u043e\u043b\u0441\u0442\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f                 h, w, c = self.carrier_data.shape                 # ... \u0440\u0430\u0441\u0447\u0435\u0442 \u043d\u043e\u0432\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 ...                 new_h = math.ceil(required_pixels \/ w)                 padded_image = np.zeros((new_h, w, c), dtype=np.uint8)                 padded_image[0:h, :, :] = self.carrier_data                 self.carrier_data = padded_image                          self.progress.emit(40)                          with open(self.audio_path, 'rb') as f:                 audio_bytes = f.read()                          secret_filename = Path(self.audio_path).name             packaged_data = secret_filename.encode('utf-8') + b'|' + audio_bytes                          self.progress.emit(60)             output_payload = stego.hide(self.carrier_data, packaged_data, self.n_bits, is_encrypted=False)             self.progress.emit(95)             self.finished.emit(output_payload)          except Exception as e:             self.error.emit(str(e)) <\/code><\/pre>\n<h2>\u0421\u0435\u0440\u0434\u0446\u0435 \u043f\u043b\u0435\u0435\u0440\u0430: \u041a\u0430\u043a \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0437\u0432\u0443\u043a<\/h2>\n<p>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0438 \u0442\u043e\u0436\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0430\u043b.<\/p>\n<ol>\n<li>\n<p><strong>\u041c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440<\/strong>: \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u0442\u0440\u0435\u043a, \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443.<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0432 \u0444\u043e\u043d\u0435<\/strong>: \u041e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f <code>PlayerRevealWorker<\/code>. \u041e\u043d \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 PNG, \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 LSB-\u0431\u0438\u0442\u044b \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0438\u0437 \u043d\u0438\u0445 \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 (<code>[\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430]|[\u0430\u0443\u0434\u0438\u043e]<\/code>).<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/strong>: \u041a\u043e\u0433\u0434\u0430 \u0432\u043e\u0440\u043a\u0435\u0440 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443, \u043e\u043d \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0430\u0443\u0434\u0438\u043e\u0431\u0430\u0439\u0442\u044b \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u043f\u043e\u0442\u043e\u043a\u0443. \u041c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u044d\u0442\u0438 \u0431\u0430\u0439\u0442\u044b \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 <code>QMediaPlayer<\/code> \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0447\u0438\u0441\u0442\u043a\u0430<\/strong>: \u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u043f\u0440\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"python\"># \u0418\u0437 \u0444\u0430\u0439\u043b\u0430 ui\/workers.py class PlayerRevealWorker(QtCore.QObject):     finished = QtCore.pyqtSignal(bytes) # audio_bytes     error = QtCore.pyqtSignal(str)     progress = QtCore.pyqtSignal(int)      def __init__(self, image_path):         super().__init__()         self.image_path = image_path      def run(self):         try:             self.progress.emit(20)             carrier_data, _, _ = file_handlers.read_file(self.image_path)             self.progress.emit(50)             packaged_data, _, found = stego.reveal(carrier_data)             self.progress.emit(90)              if not found:                 raise ValueError(t(\"player_error_no_audio\"))              try:                 _, audio_bytes = packaged_data.split(b'|', 1)             except ValueError:                 audio_bytes = packaged_data                          self.finished.emit(audio_bytes)         except Exception as e:             self.error.emit(str(e)) <\/code><\/pre>\n<h2>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438:<\/p>\n<ul>\n<li>\n<p><strong>\u0421\u0431\u043e\u0438 \u043f\u043e\u0442\u043e\u043a\u043e\u0432<\/strong>: <code>QThread: Destroyed while thread is still running<\/code> \u2014 \u044d\u0442\u0430 \u0433\u043e\u043b\u043e\u0432\u043d\u0430\u044f \u0431\u043e\u043b\u044c \u0432\u0441\u0435\u0445, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0432 PyQt. \u0420\u0435\u0448\u0438\u043b\u0430\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0434\u043b\u044f <code>QThread<\/code> (<code>QtCore.QThread(self)<\/code>), \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0436\u0435\u0441\u0442\u043a\u0443\u044e \u0441\u0432\u044f\u0437\u044c \u0438 \u043d\u0435 \u0434\u0430\u0435\u0442 \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0443 \u043c\u0443\u0441\u043e\u0440\u0430 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u043e\u0442\u043e\u043a\u0430 \u0440\u0430\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<\/li>\n<li>\n<p><strong>\u0417\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/strong>: \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0432\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u043e \u043a \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434. \u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u0432\u0441\u0435\u0439 \u0442\u044f\u0436\u0435\u043b\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438 \u0432 \u043a\u043b\u0430\u0441\u0441\u044b-\u0432\u043e\u0440\u043a\u0435\u0440\u044b (<code>QObject<\/code>) \u0438 \u0437\u0430\u043f\u0443\u0441\u043a \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 <code>QThread<\/code> \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0435\u0448\u0438\u043b \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0441\u0434\u0435\u043b\u0430\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043e\u0442\u0437\u044b\u0432\u0447\u0438\u0432\u044b\u043c.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 <strong>ChameleonLab<\/strong> \u0438 \u0435\u0433\u043e \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440 \u2014 \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0438 \u043d\u0430\u0439\u0442\u0438 \u0434\u043b\u044f \u043d\u0435\u0435 \u043d\u043e\u0432\u043e\u0435, \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u043e\u0435 \u0438, \u0447\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435, <strong>\u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0435<\/strong> \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435. \u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0442\u0438\u043b\u0438\u0442\u0443, \u0430 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430, \u0433\u0434\u0435 \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439, \u0441\u043a\u0440\u044b\u0442\u044b\u0439 \u0430\u0443\u0434\u0438\u043e-\u0441\u043b\u043e\u0439.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c &#171;\u0436\u0438\u0432\u044b\u0435&#187; \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438, \u043d\u043e \u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u043b\u0438\u0447\u043d\u044b\u0435 \u0430\u0443\u0434\u0438\u043e\u0432\u043e\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0448\u0435\u043c \u0438\u0437\u043b\u0438\u0448\u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u043c \u043c\u0438\u0440\u0435.<\/p>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 <strong>ChameleonLab<\/strong> \u0443\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0432\u0438\u0434\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0441\u0431\u043e\u0440\u043e\u043a \u0434\u043b\u044f Windows \u0438 macOS, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u044e\u0449\u0435\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 &#171;\u0436\u0438\u0432\u044b\u0435&#187; \u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0443\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f.<\/p>\n<p>\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u0432\u0430\u043c \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c\u00a0<strong>ChameleonLab<\/strong>. \u041e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u0430\u0448\u0435 \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0438 \u043f\u043e\u043c\u043e\u0449\u044c!<\/p>\n<p><strong>\u0421\u043a\u0430\u0447\u0430\u0442\u044c:<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0430 Windows:<\/strong>\u00a0<a href=\"https:\/\/chalab.ru\/download\/ChaLab.exe\" rel=\"noopener noreferrer nofollow\">ChameleonLab 1.4.0.0<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0430 macOS:\u00a0<\/strong><a href=\"https:\/\/chalab.ru\/download\/ChameleonLab.dmg\" rel=\"noopener noreferrer nofollow\">ChameleonLab 1.4.0.0<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u041d\u0430\u0448 Telegram-\u043a\u0430\u043d\u0430\u043b:<\/strong>\u00a0<a href=\"https:\/\/t.me\/ChameleonLab\" rel=\"noopener noreferrer nofollow\">t.me\/ChameleonLab<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/942270\/\"> https:\/\/habr.com\/ru\/articles\/942270\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>\u0412\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0445\u043e\u0442\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0448\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043c\u043e\u0433\u043b\u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u0438? \u041d\u0435 \u0432 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435, \u0430 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e. \u0410 \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0431\u044b \u044d\u0442\u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0431\u044b\u043b\u0438 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b <strong>\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0432\u0430\u0441<\/strong>? \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u0432\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u0443 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0441 \u0432\u0438\u0434\u0443 PNG-\u0444\u0430\u0439\u043b, \u043d\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0433\u043e \u0441\u043a\u0440\u044b\u0442\u043e \u043b\u0438\u0447\u043d\u043e\u0435 \u0430\u0443\u0434\u0438\u043e\u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438\u043b\u0438 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440. \u0418\u043b\u0438 \u0432\u0435\u0434\u0435\u0442\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0444\u043e\u0442\u043e\u0434\u043d\u0435\u0432\u043d\u0438\u043a, \u0433\u0434\u0435 \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u043c \u0441\u043d\u0438\u043c\u043a\u043e\u043c \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0441 \u0432\u0430\u0448\u0438\u043c\u0438 \u043c\u044b\u0441\u043b\u044f\u043c\u0438, \u043d\u0430\u0434\u0435\u0436\u043d\u043e \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u0430\u044f \u043e\u0442 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0433\u043b\u0430\u0437.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u043c\u0430\u0433\u0438\u044f, \u0430 \u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u044f. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0435 <a href=\"https:\/\/habr.com\/ru\/articles\/941704\/\" rel=\"noopener noreferrer nofollow\"><strong>ChameleonLab<\/strong><\/a>, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u2014 \u043e \u0435\u0433\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438: <strong>\u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440\u0435<\/strong>. \u042d\u0442\u043e \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u043d\u043e \u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u044c \u0438\u0445, \u043a\u0430\u043a \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u043f\u043b\u0435\u0435\u0440\u0435, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u043d\u043e\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043c\u0435\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439. \u041f\u0440\u043e\u0435\u043a\u0442 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 <strong>\u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f Windows \u0438 macOS<\/strong>.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &#171;ChameleonLab&#187;. \u0421\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440<\/figcaption><\/div>\n<\/figure>\n<h2>\u0417\u0430\u0447\u0435\u043c \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e? \u041f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e<\/h2>\n<p>\u0418\u0434\u0435\u044f \u043f\u0440\u044f\u0442\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043d\u0435 \u043d\u043e\u0432\u0430. \u041d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0443\u0442\u0438\u043b\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0434\u043b\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u043e\u0432. \u041c\u044b \u0436\u0435 \u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445.<\/p>\n<ul>\n<li>\n<p><strong>\u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/strong> \u0412 \u0446\u0438\u0444\u0440\u043e\u0432\u0443\u044e \u044d\u043f\u043e\u0445\u0443 \u0441\u043b\u043e\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0435\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u0430\u0448 \u043f\u043b\u0435\u0435\u0440 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0440\u0435\u0448\u0435\u043d\u0438\u0435: \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u043b\u044e\u0431\u043e\u0439 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u0430\u043d\u0430\u043b (\u043f\u043e\u0447\u0442\u0443, \u0441\u043e\u0446\u0441\u0435\u0442\u044c), \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0442, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 ChameleonLab, \u0441\u043c\u043e\u0436\u0435\u0442 \u0443\u0437\u043d\u0430\u0442\u044c \u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u043e\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0435\u0433\u043e. \u042d\u0442\u043e \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043b\u0438\u0447\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u043d\u0438\u0439.<\/p>\n<\/li>\n<li>\n<p><strong>&#171;\u0416\u0438\u0432\u044b\u0435&#187; \u0444\u043e\u0442\u043e\u0430\u043b\u044c\u0431\u043e\u043c\u044b<\/strong>: \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0439\u0442\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0430\u0443\u0434\u0438\u043e\u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0438\u043b\u0438 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0435 \u0437\u0432\u0443\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0430\u0448\u0438\u0445 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f\u0445. \u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0440\u0435\u0431\u0435\u043d\u043a\u0430 \u0441 \u0435\u0433\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u0441\u043b\u043e\u0432\u043e\u043c, \u0441\u043d\u0438\u043c\u043e\u043a \u0441 \u043a\u043e\u043d\u0446\u0435\u0440\u0442\u0430 \u0441 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f, \u0444\u043e\u0442\u043e \u0441 \u0434\u043d\u044f \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c PNG-\u0444\u0430\u0439\u043b\u0435, \u0441\u043a\u0440\u044b\u0442\u043e\u0435 \u043e\u0442 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u043e<\/strong>: \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0432\u044b\u0441\u0442\u0430\u0432\u043a\u0443 \u0432 \u043c\u0443\u0437\u0435\u0435 \u0438\u043b\u0438 \u0443\u0440\u043e\u043a \u0418\u0417\u041e. \u0423\u0447\u0435\u043d\u0438\u043a\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0430\u0445 \u0440\u0435\u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u0438 \u043a\u0430\u0440\u0442\u0438\u043d, \u0438 \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u0430 &#171;\u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442&#187; \u0433\u043e\u043b\u043e\u0441\u043e\u043c \u044d\u043a\u0441\u043a\u0443\u0440\u0441\u043e\u0432\u043e\u0434\u0430 \u043e \u0441\u0432\u043e\u0435\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u0430\u0432\u0442\u043e\u0440\u0435 \u0438 \u0442\u0435\u0445\u043d\u0438\u043a\u0435.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442: \u041f\u043e\u0433\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434<\/h2>\n<p>\u0412 \u043e\u0441\u043d\u043e\u0432\u0435 \u0432\u0441\u0435\u0433\u043e \u043b\u0435\u0436\u0438\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 <strong>\u0441\u0442\u0435\u0433\u0430\u043d\u043e\u0433\u0440\u0430\u0444\u0438\u0438 LSB (Least Significant Bit)<\/strong>. \u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u043c\u044b \u0431\u0435\u0440\u0435\u043c \u043d\u0430\u0438\u043c\u0435\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u0431\u0438\u0442\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 (R, G, B) \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0438\u0445 \u0431\u0438\u0442\u0430\u043c\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b\u0430. \u0414\u043b\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0433\u043b\u0430\u0437\u0430 \u044d\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u044b.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u043e\u0440\u043c\u0430\u0442 <strong>PNG<\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0441\u0436\u0438\u043c\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u044c. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 JPG \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u0433\u0443\u0431\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0435\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0441\u0436\u0430\u0442\u0438\u044f \u0441 \u043f\u043e\u0442\u0435\u0440\u044f\u043c\u0438 \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u0442 \u0438 \u0438\u0441\u043a\u0430\u0437\u044f\u0442 \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e.<\/p>\n<p>\u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430: <strong>\u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c<\/strong> \u0438 <strong>\u041f\u043b\u0435\u0435\u0440<\/strong>.<\/p>\n<h2>\u0428\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c: \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u0430\u0448\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u0430\u0443\u0434\u0438\u043e-\u0444\u043e\u0442\u043e<\/h2>\n<p>\u041c\u044b \u0432\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0432 \u043f\u043b\u0435\u0435\u0440 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 &#171;\u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c&#187;, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c.<\/p>\n<ol>\n<li>\n<p><strong>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440<\/strong>. \u041c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u043b\u0435\u0432\u043e\u0435 \u043e\u043a\u043d\u043e. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f PNG, JPG, BMP. \u041b\u044e\u0431\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0432 PNG.<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b<\/strong>. \u0412 \u043f\u0440\u0430\u0432\u043e\u0435 \u043e\u043a\u043d\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b (<code>.mp3<\/code> \u0438\u043b\u0438 <code>.wav<\/code>).<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c<\/strong>. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442, \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u0441\u044f \u043b\u0438 \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 &#171;\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c&#8230;&#187;, \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0441\u043d\u0438\u0437\u0443 \u0447\u0435\u0440\u043d\u044b\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0435\u043c\u043a\u043e\u0441\u0442\u044c, \u043d\u0435 \u0438\u0441\u043a\u0430\u0436\u0430\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u0435\u043c!<\/strong> \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c&#187;, \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0430\u0448 \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u044b\u0439 PNG-\u0444\u0430\u0439\u043b.<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 &#171;ChameleonLab&#187;. \u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<h2>\u041f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u00ab\u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044f\u00bb<\/h2>\n<p>\u0417\u0430 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0444\u043e\u043d\u043e\u0432\u044b\u0439 \u0432\u043e\u0440\u043a\u0435\u0440 <code>PlayerCreateWorker<\/code>. \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>steganography_core.hide()<\/code>. \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0430\u0443\u0434\u0438\u043e, \u043c\u044b \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c &#171;\u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443&#187; (payload) \u043f\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c\u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0443:<\/p>\n<p><code>[\u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0432 UTF-8] + [\u0421\u0438\u043c\u0432\u043e\u043b-\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c '|'] + [\u0411\u0430\u0439\u0442\u044b \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b\u0430]<\/code><\/p>\n<p>\u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043c \u043f\u0440\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430. \u0412\u043e\u0440\u043a\u0435\u0440 \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u0441\u044e \u0442\u044f\u0436\u0435\u043b\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443: \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 (\u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e), \u0447\u0438\u0442\u0430\u0435\u0442 \u0430\u0443\u0434\u0438\u043e\u0444\u0430\u0439\u043b \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 <code>stego.hide()<\/code>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u0438.<\/p>\n<p>\u0412\u043e\u0442 \u043a\u043b\u044e\u0447\u0435\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u0438\u0437 <a href=\"http:\/\/workers.py\" rel=\"noopener noreferrer nofollow\"><code>workers.py<\/code><\/a>:<\/p>\n<pre><code class=\"python\"># \u0418\u0437 \u0444\u0430\u0439\u043b\u0430 ui\/workers.py class PlayerCreateWorker(QtCore.QObject):     # ... \u0441\u0438\u0433\u043d\u0430\u043b\u044b ...     def __init__(self, carrier_data, audio_path, n_bits, should_pad):         # ...          def run(self):         try:             # ... \u0440\u0430\u0441\u0447\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 ...              if required_size &gt; capacity_bytes:                 if not self.should_pad:                     raise ValueError(t(\"embed_log_conclusion_fail\"))                                  # \u041b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0445\u043e\u043b\u0441\u0442\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f                 h, w, c = self.carrier_data.shape                 # ... \u0440\u0430\u0441\u0447\u0435\u0442 \u043d\u043e\u0432\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 ...                 new_h = math.ceil(required_pixels \/ w)                 padded_image = np.zeros((new_h, w, c), dtype=np.uint8)                 padded_image[0:h, :, :] = self.carrier_data                 self.carrier_data = padded_image                          self.progress.emit(40)                          with open(self.audio_path, 'rb') as f:                 audio_bytes = f.read()                          secret_filename = Path(self.audio_path).name             packaged_data = secret_filename.encode('utf-8') + b'|' + audio_bytes                          self.progress.emit(60)             output_payload = stego.hide(self.carrier_data, packaged_data, self.n_bits, is_encrypted=False)             self.progress.emit(95)             self.finished.emit(output_payload)          except Exception as e:             self.error.emit(str(e)) <\/code><\/pre>\n<h2>\u0421\u0435\u0440\u0434\u0446\u0435 \u043f\u043b\u0435\u0435\u0440\u0430: \u041a\u0430\u043a \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0437\u0432\u0443\u043a<\/h2>\n<p>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0438 \u0442\u043e\u0436\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0430\u043b.<\/p>\n<ol>\n<li>\n<p><strong>\u041c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440<\/strong>: \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u0442\u0440\u0435\u043a, \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443.<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0432 \u0444\u043e\u043d\u0435<\/strong>: \u041e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f <code>PlayerRevealWorker<\/code>. \u041e\u043d \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 PNG, \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 LSB-\u0431\u0438\u0442\u044b \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0438\u0437 \u043d\u0438\u0445 \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 (<code>[\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430]|[\u0430\u0443\u0434\u0438\u043e]<\/code>).<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/strong>: \u041a\u043e\u0433\u0434\u0430 \u0432\u043e\u0440\u043a\u0435\u0440 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443, \u043e\u043d \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0430\u0443\u0434\u0438\u043e\u0431\u0430\u0439\u0442\u044b \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u043f\u043e\u0442\u043e\u043a\u0443. \u041c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u044d\u0442\u0438 \u0431\u0430\u0439\u0442\u044b \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 <code>QMediaPlayer<\/code> \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0447\u0438\u0441\u0442\u043a\u0430<\/strong>: \u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u043f\u0440\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"python\"># \u0418\u0437 \u0444\u0430\u0439\u043b\u0430 ui\/workers.py class PlayerRevealWorker(QtCore.QObject):     finished = QtCore.pyqtSignal(bytes) # audio_bytes     error = QtCore.pyqtSignal(str)     progress = QtCore.pyqtSignal(int)      def __init__(self, image_path):         super().__init__()         self.image_path = image_path      def run(self):         try:             self.progress.emit(20)             carrier_data, _, _ = file_handlers.read_file(self.image_path)             self.progress.emit(50)             packaged_data, _, found = stego.reveal(carrier_data)             self.progress.emit(90)              if not found:                 raise ValueError(t(\"player_error_no_audio\"))              try:                 _, audio_bytes = packaged_data.split(b'|', 1)             except ValueError:                 audio_bytes = packaged_data                          self.finished.emit(audio_bytes)         except Exception as e:             self.error.emit(str(e)) <\/code><\/pre>\n<h2>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438:<\/p>\n<ul>\n<li>\n<p><strong>\u0421\u0431\u043e\u0438 \u043f\u043e\u0442\u043e\u043a\u043e\u0432<\/strong>: <code>QThread: Destroyed while thread is still running<\/code> \u2014 \u044d\u0442\u0430 \u0433\u043e\u043b\u043e\u0432\u043d\u0430\u044f \u0431\u043e\u043b\u044c \u0432\u0441\u0435\u0445, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0432 PyQt. \u0420\u0435\u0448\u0438\u043b\u0430\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0434\u043b\u044f <code>QThread<\/code> (<code>QtCore.QThread(self)<\/code>), \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0436\u0435\u0441\u0442\u043a\u0443\u044e \u0441\u0432\u044f\u0437\u044c \u0438 \u043d\u0435 \u0434\u0430\u0435\u0442 \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0443 \u043c\u0443\u0441\u043e\u0440\u0430 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u043e\u0442\u043e\u043a\u0430 \u0440\u0430\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<\/li>\n<li>\n<p><strong>\u0417\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/strong>: \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0432\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u043e \u043a \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434. \u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u0432\u0441\u0435\u0439 \u0442\u044f\u0436\u0435\u043b\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438 \u0432 \u043a\u043b\u0430\u0441\u0441\u044b-\u0432\u043e\u0440\u043a\u0435\u0440\u044b (<code>QObject<\/code>) \u0438 \u0437\u0430\u043f\u0443\u0441\u043a \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 <code>QThread<\/code> \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0435\u0448\u0438\u043b \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0441\u0434\u0435\u043b\u0430\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043e\u0442\u0437\u044b\u0432\u0447\u0438\u0432\u044b\u043c.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 <strong>ChameleonLab<\/strong> \u0438 \u0435\u0433\u043e \u0438\u043c\u0438\u0434\u0436-\u043f\u043b\u0435\u0435\u0440 \u2014 \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0438 \u043d\u0430\u0439\u0442\u0438 \u0434\u043b\u044f \u043d\u0435\u0435 \u043d\u043e\u0432\u043e\u0435, \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u043e\u0435 \u0438, \u0447\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435, <strong>\u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0435<\/strong> \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435. \u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0442\u0438\u043b\u0438\u0442\u0443, \u0430 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430, \u0433\u0434\u0435 \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439, \u0441\u043a\u0440\u044b\u0442\u044b\u0439 \u0430\u0443\u0434\u0438\u043e-\u0441\u043b\u043e\u0439.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c &#171;\u0436\u0438\u0432\u044b\u0435&#187; \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438, \u043d\u043e \u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u043b\u0438\u0447\u043d\u044b\u0435 \u0430\u0443\u0434\u0438\u043e\u0432\u043e\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0448\u0435\u043c \u0438\u0437\u043b\u0438\u0448\u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u043c \u043c\u0438\u0440\u0435.<\/p>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 <strong>ChameleonLab<\/strong> \u0443\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0432\u0438\u0434\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0441\u0431\u043e\u0440\u043e\u043a \u0434\u043b\u044f Windows \u0438 macOS, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u044e\u0449\u0435\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 &#171;\u0436\u0438\u0432\u044b\u0435&#187; \u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0443\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f.<\/p>\n<p>\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u0432\u0430\u043c \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c\u00a0<strong>ChameleonLab<\/strong>. \u041e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u0430\u0448\u0435 \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0438 \u043f\u043e\u043c\u043e\u0449\u044c!<\/p>\n<p><strong>\u0421\u043a\u0430\u0447\u0430\u0442\u044c:<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0430 Windows:<\/strong>\u00a0<a href=\"https:\/\/chalab.ru\/download\/ChaLab.exe\" rel=\"noopener noreferrer nofollow\">ChameleonLab 1.4.0.0<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0430 macOS:\u00a0<\/strong><a href=\"https:\/\/chalab.ru\/download\/ChameleonLab.dmg\" rel=\"noopener noreferrer nofollow\">ChameleonLab 1.4.0.0<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u041d\u0430\u0448 Telegram-\u043a\u0430\u043d\u0430\u043b:<\/strong>\u00a0<a href=\"https:\/\/t.me\/ChameleonLab\" rel=\"noopener noreferrer nofollow\">t.me\/ChameleonLab<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/942270\/\"> https:\/\/habr.com\/ru\/articles\/942270\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-472661","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/472661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=472661"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/472661\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=472661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=472661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=472661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}