{"id":45011,"date":"2024-08-05T15:30:35","date_gmt":"2024-08-05T11:00:35","guid":{"rendered":"https:\/\/wpadmin.maktabkhooneh.org\/mag\/?p=45011"},"modified":"2026-04-06T13:57:19","modified_gmt":"2026-04-06T10:27:19","slug":"image-processing-with-c-sharp","status":"publish","type":"post","link":"https:\/\/maktabkhooneh.org\/mag\/image-processing-with-c-sharp\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0647 \u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc"},"content":{"rendered":"\n<p>\u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u06cc\u0627 Image Processing \u06cc\u06a9\u06cc \u0627\u0632 \u062d\u0648\u0632\u0647\u200c\u0647\u0627\u06cc \u0646\u0648\u0638\u0647\u0648\u0631 \u0648 \u062a\u0627\u062b\u06cc\u0631\u06af\u0630\u0627\u0631 \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0627\u0645\u0631\u0648\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u0647 \u0648 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0645\u0647\u0645 \u0631\u0627 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0648 \u0628\u06cc\u0646\u0627\u06cc\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0648\u06cc\u062f\u06cc\u0648\u0647\u0627\u06cc\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a\u06cc \u0627\u0632 \u062f\u0648\u0631\u0628\u06cc\u0646\u200c\u0647\u0627\u06cc \u067e\u0644\u0627\u06a9 \u062e\u0648\u0627\u0646 \u0631\u0627 \u062a\u062c\u0632\u06cc\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u067e\u0644\u0627\u06a9 \u062e\u0648\u062f\u0631\u0648\u0647\u0627 \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0627\u062f. \u0628\u0631\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0648\u06cc\u062f\u06cc\u0648\u0647\u0627 \u0648 \u062a\u0635\u0627\u0648\u06cc\u0631 \u062f\u0631\u06cc\u0627\u0641\u062a\u06cc\u060c \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0622\u0646\u200c\u0647\u0627 C#\u200e \u0627\u0633\u062a. \u0633\u06cc \u0634\u0627\u0631\u067e \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u062a\u0627 \u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u06cc \u0645\u062b\u0644 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0648\u0636\u0648\u062d\u060c \u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0631\u0646\u06af\u06cc \u0648 \u0632\u0648\u0645 \u06a9\u0631\u062f\u0646 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0631\u0627 \u0628\u0627 \u0634\u0645\u0627 \u0639\u0632\u06cc\u0632\u0627\u0646 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0628\u06af\u0630\u0627\u0631\u06cc\u0645 \u062a\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0631 \u0627\u06cc\u0646 \u062e\u0635\u0648\u0635 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e<\/h2>\n\n\n\n<p>\u0632\u0628\u0627\u0646\u200c \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc C#\u200e \u0628\u0633\u06cc\u0627\u0631 \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0628\u0648\u062f\u0647 \u0648 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0635\u0641\u0631 \u062a\u0627 \u0635\u062f \u067e\u0631\u0648\u0698\u0647\u200c \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 OpenCV \u0648 OpenGL \u0646\u06cc\u0632 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u06a9\u0648\u062a\u0627\u0647 \u0648 \u0628\u0627 \u06a9\u0645\u062a\u0631\u06cc\u0646 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/p>\n\n\n<div class=\"jet-listing-grid--56206\" style=\"\"><div class=\"jet-listing-dynamic-field-block zht-maktab-khooneh-learn cb-ud1ng69u\"data-is-block=\"jet-engine\/dynamic-field\"><div class=\"jet-listing-dynamic-field__content\" >\r\n<div class=\"zht-learn-card\">\r\n    <div class=\"zht-learn-title-section\">\r\n        <div class=\"zht-learn-card-icon\">\r\n            <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" width=\"24\" height=\"24\">\r\n                <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\" \/>\r\n            <\/svg>\r\n        <\/div>\r\n        \r\n        <!-- \u0639\u0646\u0648\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u0644\u06cc\u0646\u06a9 -->\r\n        <a href=\"https:\/\/maktabkhooneh.org\/learn\/c\/\" class=\"zht-learn-card-title\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n            \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 #C        <\/a>\r\n    <\/div>\r\n\r\n    <!-- \u062f\u06a9\u0645\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u062a\u06af button -->\r\n    <!-- \u0627\u0632 onclick \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u062a\u0627 \u0628\u0647 \u0645\u062d\u0636 \u06a9\u0644\u06cc\u06a9 \u0644\u06cc\u0646\u06a9 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u062f -->\r\n    <button class=\"zht-learn-card-btn\" data-course-url=\"https:\/\/maktabkhooneh.org\/learn\/c\/\" onclick=\"window.open(this.getAttribute('data-course-url'), '_blank');\">\r\n        \u0634\u0631\u0648\u0639 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc\r\n    <\/button>\r\n<\/div><\/div><\/div><\/div>\n\n\n<p>\u062f\u0631 \u062d\u0627\u0644\u062a \u06a9\u0644\u06cc Image Processing \u0628\u0647 \u0645\u062c\u0645\u0648\u0639\u0647\u200c\u0627\u06cc \u0627\u0632 \u067e\u0631\u062f\u0627\u0632\u0634\u200c\u0647\u0627 \u0648 \u0639\u0645\u0644\u06cc\u0627\u062a \u06af\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0647\u062f\u0641 \u0622\u0646\u200c\u0647\u0627 \u0628\u0647\u0628\u0648\u062f \u06a9\u06cc\u0641\u06cc\u062a \u062a\u0635\u0627\u0648\u06cc\u0631\u060c \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0622\u0646\u200c\u0647\u0627 \u06cc\u0627 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u062a\u0635\u0648\u06cc\u0631\u06cc \u0627\u0633\u062a. \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u06cc\u06a9\u06cc \u0627\u0632 \u06af\u0627\u0645\u200c\u0647\u0627\u06cc \u0645\u0647\u0645 \u062f\u0631 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u062a\u0635\u0648\u06cc\u0631 \u0627\u0633\u062a \u062a\u0627 \u0627\u0632 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u200c\u0647\u0627 \u062f\u0631 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0686\u0647\u0631\u0647\u060c \u062a\u0634\u062e\u06cc\u0635 \u067e\u0644\u0627\u06a9 \u062e\u0648\u062f\u0631\u0648 \u0648 \u062a\u0634\u062e\u06cc\u0635 \u0628\u06cc\u0645\u0627\u0631\u06cc\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0622\u0645\u0648\u0632\u0634 image processing \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e<\/h2>\n\n\n\n<p>\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u0647 \u0648 \u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u06cc \u0627\u0632 \u062c\u0645\u0644\u0647 \u0632\u0648\u0645 \u06a9\u0631\u062f\u0646\u060c \u0641\u06cc\u0644\u062a\u0631 \u0631\u0646\u06af\u060c \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc\u060c \u0633\u06cc\u0627\u0647 \u0648 \u0633\u0641\u06cc\u062f \u06a9\u0631\u062f\u0646\u060c \u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u0648 \u062f\u0631\u062c \u0645\u062a\u0646 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u062f. \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0632 Windows Forms \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0639\u0645\u0644\u06cc\u0627\u062a \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0628\u0647 \u0646\u0627\u0645 ImageHandler \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><style><\/style><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"215\" src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/f76569c1-3e18-4e59-9c01-be83027fb0ac-300x215.jpg.webp\" class=\"attachment-medium size-medium wp-post-image\" alt=\"\u0622\u0645\u0648\u0632\u0634 Generic \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e\" srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/f76569c1-3e18-4e59-9c01-be83027fb0ac-300x215.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/f76569c1-3e18-4e59-9c01-be83027fb0ac-768x551.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/f76569c1-3e18-4e59-9c01-be83027fb0ac.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/generic-in-c-sharp\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0622\u0645\u0648\u0632\u0634 Generic \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647 + \u0645\u062b\u0627\u0644 \u0639\u0645\u0644\u06cc<\/a>\n<\/section><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u06f1. \u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0631\u0646\u06af\u06cc \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631<\/h3>\n\n\n\n<p>\u0627\u0648\u0644\u06cc\u0646 \u0628\u062e\u0634 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0647 \u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0631\u0646\u06af\u06cc \u0627\u062e\u062a\u0635\u0627\u0635 \u062f\u0627\u0631\u062f. \u062a\u0635\u0627\u0648\u06cc\u0631 \u0631\u0646\u06af\u06cc \u0627\u0632 \u0633\u0647 \u06a9\u0627\u0646\u0627\u0644 \u0627\u0635\u0644\u06cc \u0642\u0631\u0645\u0632\u060c \u0633\u0628\u0632 \u0648 \u0622\u0628\u06cc \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647\u200c\u0627\u0646\u062f \u0648 \u0628\u0631\u0627\u06cc \u0646\u0627\u0645\u06af\u0630\u0627\u0631\u06cc \u0622\u0646\u200c\u0647\u0627 \u0627\u0632 \u062d\u0631\u0648\u0641 \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc R (Red)\u060c G (Green) \u0648 B (Blue) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0627\u0646\u0627\u0644\u200c\u0647\u0627 \u0645\u0642\u062f\u0627\u0631\u06cc \u062f\u0631 \u0628\u0627\u0632\u0647 \u06f0 \u062a\u0627 \u06f2\u06f5\u06f5 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f. \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0647\u0631 \u0633\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0646\u0627\u0644\u200c\u0647\u0627 \u062f\u0627\u0631\u0627\u06cc \u0645\u0642\u062f\u0627\u0631 \u06f0 \u0628\u0627\u0634\u0646\u062f (\u06f0, \u06f0 ,\u06f0)\u060c \u0631\u0646\u06af \u062a\u0635\u0648\u06cc\u0631 \u0645\u0634\u06a9\u06cc \u0648 \u0627\u06af\u0631 \u0639\u062f\u062f \u06a9\u0627\u0646\u0627\u0644\u200c\u0647\u0627 \u0628\u0631\u0627\u0628\u0631 \u0628\u0627 \u06f2\u06f5\u06f5 \u0628\u0627\u0634\u062f\u060c \u0631\u0646\u06af \u062a\u0635\u0648\u06cc\u0631 \u0633\u0641\u06cc\u062f \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"658\" height=\"596\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-2.jpeg\" alt=\"\u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0631\u0646\u06af\u06cc \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631\" class=\"wp-image-45013 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-2.jpeg 658w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-2-300x272.jpeg.webp 300w\" data-sizes=\"(max-width: 658px) 100vw, 658px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 658px; --smush-placeholder-aspect-ratio: 658\/596;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p>\u062d\u0627\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0631\u0646\u06af\u06cc \u0645\u062e\u062a\u0644\u0641 \u0631\u0627 \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u0645\u060c \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0646\u06af\u200c\u0647\u0627 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u06f2\u06f5\u06f5 \u06cc\u0627 \u0627\u0639\u062f\u0627\u062f \u067e\u0627\u06cc\u06cc\u0646 \u0646\u06af\u0647 \u062f\u0627\u0634\u062a\u0647 \u0648 \u062f\u0648 \u0631\u0646\u06af \u0628\u0639\u062f\u06cc \u0631\u0627 \u06a9\u0645 \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0628\u0631\u0627\u06cc \u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631 \u0642\u0631\u0645\u0632 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0648\u06cc\u0631\u060c \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u0622\u0628\u06cc \u0648 \u0633\u0628\u0632 \u0631\u0627 \u0627\u0632 \u062a\u0635\u0648\u06cc\u0631 \u06a9\u0645 \u06a9\u0631\u062f\u0647 \u0648 \u0641\u0642\u0637 \u0631\u0646\u06af \u0642\u0631\u0645\u0632 \u0631\u0627 \u0646\u06af\u0647 \u0645\u06cc\u200c\u062f\u0627\u0631\u06cc\u0645. \u062f\u0631 \u06a9\u062f \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0631\u0627\u062d\u0644 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void SetColorFilter(ColorFilterTypes colorFilterType)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nColor c;\n\nfor (int i = 0; i &lt; bmap.Width; i++)\n\n{\n\nfor (int j = 0; j &lt; bmap.Height; j++)\n\n{\n\nc = bmap.GetPixel(i, j);\n\nint nPixelR = 0;\n\nint nPixelG = 0;\n\nint nPixelB = 0;\n\nif (colorFilterType == ColorFilterTypes.Red)\n\n{\n\nnPixelR = c.R;\n\nnPixelG = c.G - 255;\n\nnPixelB = c.B - 255;\n\n}\n\nelse if (colorFilterType == ColorFilterTypes.Green)\n\n{\n\nnPixelR = c.R - 255;\n\nnPixelG = c.G;\n\nnPixelB = c.B - 255;\n\n}\n\nelse if (colorFilterType == ColorFilterTypes.Blue)\n\n{\n\nnPixelR = c.R - 255;\n\nnPixelG = c.G - 255;\n\nnPixelB = c.B;\n\n}\n\nnPixelR = Math.Max(nPixelR, 0);\n\nnPixelR = Math.Min(255, nPixelR);\n\nnPixelG = Math.Max(nPixelG, 0);\n\nnPixelG = Math.Min(255, nPixelG);\n\nnPixelB = Math.Max(nPixelB, 0);\n\nnPixelB = Math.Min(255, nPixelB);\n\nbmap.SetPixel(i, j, Color.FromArgb((byte)nPixelR,\n\n(byte)nPixelG, (byte)nPixelB));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f2. \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0642\u062f\u0627\u0631 \u06af\u0627\u0645\u0627 (Gamma)<\/h3>\n\n\n\n<p>\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc\u200c \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 Image Processing \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0642\u062f\u0627\u0631 \u06af\u0627\u0645\u0627 \u0627\u0633\u062a. Gamma \u06cc\u06a9 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u062f\u0631 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062a\u0635\u062d\u06cc\u062d \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0648 \u0648\u06cc\u062f\u06cc\u0648\u0647\u0627 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f.<\/p>\n\n\n<div class=\"jet-listing-grid--50121\" style=\"\"><div class=\"jet-listing-dynamic-field-block zht-maktab-khooneh-course cb-fb2qc30r\"data-is-block=\"jet-engine\/dynamic-field\"><div class=\"jet-listing-dynamic-field__content\" >\n<div class=\"course-card\">\n    <div class=\"course-card-img\">\n        <img decoding=\"async\" \n            data-src=\"https:\/\/media1.maktabkhooneh.org\/CACHE\/images\/courses\/images\/ASPNETS_ArN8ZT6_1403-08-16-164217318\/c6053143caaf828c26061fe0b6de1dea.webp?expire=4893471932&#038;token=845c258459cd4a206e98c88732ec804b&#038;md5=hFwlhFnNSiBumMiHMuyASw==\" \n            alt=\"\u0622\u0645\u0648\u0632\u0634 ASP.NET Core\" \n            title=\"\u0622\u0645\u0648\u0632\u0634 ASP.NET Core\" \n            width=\"100%\" \n            height=\"auto\"\n           \n         src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\">\n    <\/div>\n\n    <div class=\"course-details\">\n        <a href=\"https:\/\/maktabkhooneh.org\/course\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-asp-net-core-mk1290\/\" class=\"course-title\" target=\"_blank\" rel=\"noopener noreferrer\">\n            \u0622\u0645\u0648\u0632\u0634 ASP.NET Core        <\/a>\n\n        <div class=\"course-price\">\n            \n                <span class=\"real-price\">\n                                            \u06f1,\u06f8\u06f9\u06f9,\u06f0\u06f0\u06f0                                    <\/span>\n\n                <span>\n                    <span class=\"discounted-price\">\n                        \u06f6\u06f6\u06f4,\u06f6\u06f5\u06f0                    <\/span>\n                    <span class=\"price-currency\">\u062a\u0648\u0645\u0627\u0646<\/span>\n                <\/span>\n\n                                    <div class=\"discount-percentage\">\n                        \u06f6\u06f5%                    <\/div>\n                \n                    <\/div>\n        <button class=\"course-cta-button\" data-course-url=\"https:\/\/maktabkhooneh.org\/course\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-asp-net-core-mk1290\/\">\n            \u0645\u0634\u0627\u0647\u062f\u0647 \u0648 \u062e\u0631\u06cc\u062f        <\/button>\n    <\/div>\n<\/div>\n<\/div><\/div><\/div>\n\n\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062a\u0635\u0627\u0648\u06cc\u0631 \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0642\u06cc\u0642 \u062f\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f\u060c \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u06af\u0627\u0645\u0627 \u0627\u0647\u0645\u06cc\u062a \u0632\u06cc\u0627\u062f\u06cc \u062f\u0627\u0631\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"844\" height=\"383\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-3.jpeg\" alt=\"\u062a\u063a\u06cc\u06cc\u0631 \u0645\u0642\u062f\u0627\u0631 \u06af\u0627\u0645\u0627 (Gamma)\" class=\"wp-image-45014 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-3.jpeg 844w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-3-300x136.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-3-768x349.jpeg.webp 768w\" data-sizes=\"(max-width: 844px) 100vw, 844px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 844px; --smush-placeholder-aspect-ratio: 844\/383;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p>\u062a\u0635\u0627\u0648\u06cc\u0631\u06cc \u06a9\u0647 \u0645\u06cc\u0632\u0627\u0646 \u06af\u0627\u0645\u0627 \u062f\u0631 \u0622\u0646\u200c\u0647\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u062a\u0635\u062d\u06cc\u062d \u0646\u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0627\u062d\u062a\u0645\u0627\u0644 \u062f\u0627\u0631\u062f \u062e\u06cc\u0644\u06cc \u0633\u0641\u06cc\u062f \u06cc\u0627 \u062e\u06cc\u0644\u06cc \u0633\u06cc\u0627\u0647 \u0628\u0627\u0634\u0646\u062f. \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0628\u062f\u0627\u0646\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0642\u062f\u0627\u0631 \u06af\u0627\u0645\u0627 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc\u060c \u0628\u0627\u0639\u062b \u062a\u063a\u06cc\u06cc\u0631 \u0646\u0633\u0628\u062a \u0633\u0627\u06cc\u0631 \u0631\u0646\u06af\u200c\u0647\u0627 \u0628\u0647 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0631\u0646\u062c \u0639\u062f\u062f\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc Gamma \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0628\u06cc\u0646 \u06f0.\u06f2 \u0627\u0644\u06cc \u06f5 \u0627\u0633\u062a.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void SetGamma(double red, double green, double blue)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nColor c;\n\nbyte[] redGamma = CreateGammaArray(red);\n\nbyte[] greenGamma = CreateGammaArray(green);\n\nbyte[] blueGamma = CreateGammaArray(blue);\n\nfor (int i = 0; i &lt; bmap.Width; i++)\n\n{\n\nfor (int j = 0; j &lt; bmap.Height; j++)\n\n{\n\nc = bmap.GetPixel(i, j);\n\nbmap.SetPixel(i, j, Color.FromArgb(redGamma[c.R],\n\ngreenGamma[c.G], blueGamma[c.B]));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0622\u0631\u0627\u06cc\u0647 \u06af\u0627\u0645\u0627 \u0646\u06cc\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06a9\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">private byte[] CreateGammaArray(double color)\n\n{\n\nbyte[] gammaArray = new byte[256];\n\nfor (int i = 0; i &lt; 256; ++i)\n\n{\n\ngammaArray[i] = (byte)Math.Min(255,\n\n(int)((255.0 * Math.Pow(i \/ 255.0, 1.0 \/ color)) + 0.5));\n\n}\n\nreturn gammaArray;\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f3. \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631<\/h3>\n\n\n\n<p>\u067e\u0627\u06cc\u06cc\u0646 \u0628\u0648\u062f\u0646 \u0645\u06cc\u0632\u0627\u0646 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u06cc\u0627 Brightness \u062f\u0631 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0628\u0627\u0639\u062b \u062a\u06cc\u0631\u06af\u06cc \u0648 \u06a9\u0627\u0647\u0634 \u06a9\u06cc\u0641\u06cc\u062a \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631 \u067e\u0631\u0648\u0698\u0647 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0645\u0642\u062f\u0627\u0631 Brightness \u0639\u062f\u062f\u06cc \u0628\u06cc\u0646 -\u06f2\u06f5\u06f5 \u062a\u0627 \u06f2\u06f5\u06f5 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u0632\u0627\u0646 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u062f\u0631 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06a9\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"848\" height=\"385\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-4.jpeg\" alt=\"\u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631\" class=\"wp-image-45015 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-4.jpeg 848w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-4-300x136.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-4-768x349.jpeg.webp 768w\" data-sizes=\"(max-width: 848px) 100vw, 848px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 848px; --smush-placeholder-aspect-ratio: 848\/385;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void SetBrightness(int brightness)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nif (brightness &lt; -255) brightness = -255; if (brightness &gt; 255) brightness = 255;\n\nColor c;\n\nfor (int i = 0; i &lt; bmap.Width; i++)\n\n{\n\nfor (int j = 0; j &lt; bmap.Height; j++)\n\n{\n\nc = bmap.GetPixel(i, j);\n\nint cR = c.R + brightness;\n\nint cG = c.G + brightness;\n\nint cB = c.B + brightness;\n\nif (cR &lt; 0) cR = 1; if (cR &gt; 255) cR = 255;\n\nif (cG &lt; 0) cG = 1; if (cG &gt; 255) cG = 255;\n\nif (cB &lt; 0) cB = 1; if (cB &gt; 255) cB = 255;\n\nbmap.SetPixel(i, j,\n\nColor.FromArgb((byte)cR, (byte)cG, (byte)cB));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f4. \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u062a\u0635\u0627\u0648\u06cc\u0631 (Contrast)<\/h3>\n\n\n\n<p>\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0645\u0637\u0631\u062d \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f\u060c \u0646\u062d\u0648\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u062a\u0635\u0648\u06cc\u0631 \u0627\u0633\u062a. \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u06cc\u0627 \u062a\u0636\u0627\u062f \u0628\u0647 \u0627\u062e\u062a\u0644\u0627\u0641 \u0628\u06cc\u0646 \u0631\u0648\u0634\u0646\u200c\u062a\u0631\u06cc\u0646 \u0648 \u062a\u0627\u0631\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0628\u062e\u0634\u200c\u0647\u0627\u06cc \u062a\u0635\u0648\u06cc\u0631 \u06af\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0647\u0631 \u0686\u0642\u062f\u0631 \u0627\u06cc\u0646 \u0627\u062e\u062a\u0644\u0627\u0641 \u0628\u06cc\u0634\u062a\u0631 \u0628\u0627\u0634\u062f\u060c \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u0646\u06cc\u0632 \u0628\u06cc\u0634\u062a\u0631 \u062e\u0648\u0627\u0647\u062f \u0634\u062f. \u062f\u0642\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a\u060c \u06a9\u06cc\u0641\u06cc\u062a \u062a\u0635\u0648\u06cc\u0631 \u0646\u06cc\u0632 \u0628\u0647\u0628\u0648\u062f \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0627\u062c\u0632\u0627\u06cc \u0622\u0646 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0642\u0627\u0628\u0644 \u062a\u0634\u062e\u06cc\u0635 \u0647\u0633\u062a\u0646\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"846\" height=\"388\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-5.jpeg\" alt=\"\u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u062a\u0635\u0627\u0648\u06cc\u0631 (Contrast)\" class=\"wp-image-45016 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-5.jpeg 846w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-5-300x138.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-5-768x352.jpeg.webp 768w\" data-sizes=\"(max-width: 846px) 100vw, 846px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 846px; --smush-placeholder-aspect-ratio: 846\/388;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p>\u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u0631\u0627 \u0639\u062f\u062f\u06cc \u0628\u06cc\u0646 -\u06f1\u06f0\u06f0 \u062a\u0627 \u06f1\u06f0\u06f0 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f\u061b \u0627\u0645\u0627 \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0622\u0646 \u0631\u0627 \u0628\u06cc\u0646 \u06f0 \u062a\u0627 \u06f4 \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void SetContrast(double contrast)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nif (contrast &lt; -100) contrast = -100; if (contrast &gt; 100) contrast = 100;\n\ncontrast = (100.0 + contrast) \/ 100.0;\n\ncontrast *= contrast;\n\nColor c;\n\nfor (int i = 0; i &lt; bmap.Width; i++)\n\n{\n\nfor (int j = 0; j &lt; bmap.Height; j++)\n\n{\n\nc = bmap.GetPixel(i, j);\n\ndouble pR = c.R \/ 255.0;\n\npR -= 0.5;\n\npR *= contrast;\n\npR += 0.5;\n\npR *= 255;\n\nif (pR &lt; 0) pR = 0; if (pR &gt; 255) pR = 255;\n\ndouble pG = c.G \/ 255.0;\n\npG -= 0.5;\n\npG *= contrast;\n\npG += 0.5;\n\npG *= 255;\n\nif (pG &lt; 0) pG = 0; if (pG &gt; 255) pG = 255;\n\ndouble pB = c.B \/ 255.0;\n\npB -= 0.5;\n\npB *= contrast;\n\npB += 0.5;\n\npB *= 255;\n\nif (pB &lt; 0) pB = 0; if (pB &gt; 255) pB = 255;\n\nbmap.SetPixel(i, j,\n\nColor.FromArgb((byte)pR, (byte)pG, (byte)pB));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f5. \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0631\u0627\u06cc \u0633\u06cc\u0627\u0647 \u0648 \u0633\u0641\u06cc\u062f \u06a9\u0631\u062f\u0646 \u062a\u0635\u0627\u0648\u06cc\u0631<\/h3>\n\n\n\n<p>\u0641\u06cc\u0644\u062a\u0631 \u062f\u06cc\u06af\u0631\u06cc \u06a9\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0639\u0645\u0627\u0644 \u0622\u0646 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0641\u06cc\u0644\u062a\u0631 \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u062a\u0635\u0648\u06cc\u0631 \u0628\u0647 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u0633\u06cc\u0627\u0647 \u0648 \u0633\u0641\u06cc\u062f \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"848\" height=\"387\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-6.jpeg\" alt=\"\u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0631\u0627\u06cc \u0633\u06cc\u0627\u0647 \u0648 \u0633\u0641\u06cc\u062f \u06a9\u0631\u062f\u0646 \u062a\u0635\u0627\u0648\u06cc\u0631\" class=\"wp-image-45017 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-6.jpeg 848w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-6-300x137.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-6-768x350.jpeg.webp 768w\" data-sizes=\"(max-width: 848px) 100vw, 848px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 848px; --smush-placeholder-aspect-ratio: 848\/387;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void SetGrayscale()\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nColor c;\n\nfor (int i = 0; i &lt; bmap.Width; i++)\n\n{\n\nfor (int j = 0; j &lt; bmap.Height; j++)\n\n{\n\nc = bmap.GetPixel(i, j);\n\nbyte gray = (byte)(.299 * c.R + .587 * c.G + .114 * c.B);\n\nbmap.SetPixel(i, j, Color.FromArgb(gray, gray, gray));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f6. \u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631 \u0645\u0639\u06a9\u0648\u0633 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 (Invert)<\/h3>\n\n\n\n<p>\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f\u060c \u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u0631\u0646\u06af \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0627\u06af\u0631 \u0631\u0646\u06af \u06cc\u06a9 \u067e\u06cc\u06a9\u0633\u0644 \u0627\u0632 \u062a\u0635\u0648\u06cc\u0631 \u06f0\u06f0 \u0628\u0627\u0634\u062f\u060c \u0622\u0646 \u0631\u0627 \u062a\u0628\u062f\u06cc\u0644 \u0628\u0647 FF \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/p>\n\n\n<div class=\"jet-listing-grid--50121\" style=\"\"><div class=\"jet-listing-dynamic-field-block zht-maktab-khooneh-course cb-fb2qc30r\"data-is-block=\"jet-engine\/dynamic-field\"><div class=\"jet-listing-dynamic-field__content\" >\n<div class=\"course-card\">\n    <div class=\"course-card-img\">\n        <img decoding=\"async\" \n            data-src=\"https:\/\/media1.maktabkhooneh.org\/CACHE\/images\/courses\/images\/c-sharp\/2d86cfc98f362a161867df425836418d.webp?expire=4893471932&#038;token=6489764e1e62ffc9871a6e3c0fc322d0&#038;md5=ZIl2Th5i_8mHGm48D8Mi0A==\" \n            alt=\"\u0622\u0645\u0648\u0632\u0634 \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0633\u06cc \u0634\u0627\u0631\u067e (Beginner)\" \n            title=\"\u0622\u0645\u0648\u0632\u0634 \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0633\u06cc \u0634\u0627\u0631\u067e (Beginner)\" \n            width=\"100%\" \n            height=\"auto\"\n           \n         src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\">\n    <\/div>\n\n    <div class=\"course-details\">\n        <a href=\"https:\/\/maktabkhooneh.org\/course\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%B2%DB%8C%D8%B1%D8%B3%D8%A7%D8%AE%D8%AA-%D8%B2%D8%A8%D8%A7%D9%86-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%D9%86%D9%88%DB%8C%D8%B3%DB%8C-%D8%B3%DB%8C-%D8%B4%D8%A7%D8%B1%D9%BE-mk1719\/\" class=\"course-title\" target=\"_blank\" rel=\"noopener noreferrer\">\n            \u0622\u0645\u0648\u0632\u0634 \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0633\u06cc \u0634\u0627\u0631\u067e (Beginner)        <\/a>\n\n        <div class=\"course-price\">\n            \n                <span class=\"real-price\">\n                                            \u06f8,\u06f4\u06f9\u06f9,\u06f0\u06f0\u06f0                                    <\/span>\n\n                <span>\n                    <span class=\"discounted-price\">\n                        \u06f2,\u06f5\u06f4\u06f9,\u06f7\u06f0\u06f0                    <\/span>\n                    <span class=\"price-currency\">\u062a\u0648\u0645\u0627\u0646<\/span>\n                <\/span>\n\n                                    <div class=\"discount-percentage\">\n                        \u06f7\u06f0%                    <\/div>\n                \n                    <\/div>\n        <button class=\"course-cta-button\" data-course-url=\"https:\/\/maktabkhooneh.org\/course\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%B2%DB%8C%D8%B1%D8%B3%D8%A7%D8%AE%D8%AA-%D8%B2%D8%A8%D8%A7%D9%86-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%D9%86%D9%88%DB%8C%D8%B3%DB%8C-%D8%B3%DB%8C-%D8%B4%D8%A7%D8%B1%D9%BE-mk1719\/\">\n            \u0645\u0634\u0627\u0647\u062f\u0647 \u0648 \u062e\u0631\u06cc\u062f        <\/button>\n    <\/div>\n<\/div>\n<\/div><\/div><\/div>\n\n\n<p>\u0628\u0627 \u0627\u0639\u0645\u0627\u0644 \u0627\u06cc\u0646 \u0641\u06cc\u0644\u062a\u0631\u060c \u062a\u0635\u0627\u0648\u06cc\u0631 \u062d\u0627\u0644\u062a \u0646\u06af\u0627\u062a\u06cc\u0648\u06cc \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"848\" height=\"389\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-7.jpeg\" alt=\"\u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631 \u0645\u0639\u06a9\u0648\u0633 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 (Invert)\" class=\"wp-image-45018 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-7.jpeg 848w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-7-300x138.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-7-768x352.jpeg.webp 768w\" data-sizes=\"(max-width: 848px) 100vw, 848px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 848px; --smush-placeholder-aspect-ratio: 848\/389;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void SetInvert()\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nColor c;\n\nfor (int i = 0; i &lt; bmap.Width; i++)\n\n{\n\nfor (int j = 0; j &lt; bmap.Height; j++)\n\n{\n\nc = bmap.GetPixel(i, j);\n\nbmap.SetPixel(i, j,\n\nColor.FromArgb(255 - c.R, 255 - c.G, 255 - c.B));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f7. \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0627\u06cc\u0632 \u062a\u0635\u0627\u0648\u06cc\u0631 (Resize)<\/h3>\n\n\n\n<p>\u062f\u0631 \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0627\u06cc\u0632 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0641\u0642\u0637 \u0627\u0646\u062f\u0627\u0632\u0647 \u0639\u0631\u0636 \u0648 \u0627\u0631\u062a\u0641\u0627\u0639 \u062a\u063a\u06cc\u06cc\u0631 \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u062a\u0627\u062b\u06cc\u0631\u06cc \u0628\u0631 \u0631\u0648\u06cc \u067e\u06cc\u06a9\u0633\u0644\u200c\u0647\u0627 \u0646\u062f\u0627\u0631\u062f\u061b \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0648\u0636\u0648\u062d \u062a\u0635\u0648\u06cc\u0631 \u0628\u0647 \u0647\u0645\u0627\u0646 \u062d\u0627\u0644\u062a \u062e\u0648\u062f \u0628\u0627\u0642\u06cc \u0645\u06cc\u200c\u0645\u0627\u0646\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"813\" height=\"389\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-8.jpeg\" alt=\"\u062a\u063a\u06cc\u06cc\u0631 \u0633\u0627\u06cc\u0632 \u062a\u0635\u0627\u0648\u06cc\u0631 (Resize)\" class=\"wp-image-45019 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-8.jpeg 813w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-8-300x144.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-8-768x367.jpeg.webp 768w\" data-sizes=\"(max-width: 813px) 100vw, 813px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 813px; --smush-placeholder-aspect-ratio: 813\/389;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void Resize(int newWidth, int newHeight)\n\n{\n\nif (newWidth != 0 &amp;&amp; newHeight != 0)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = new Bitmap(newWidth, newHeight, temp.PixelFormat);\n\ndouble nWidthFactor = (double)temp.Width \/ (double)newWidth;\n\ndouble nHeightFactor = (double)temp.Height \/ (double)newHeight;\n\ndouble fx, fy, nx, ny;\n\nint cx, cy, fr_x, fr_y;\n\nColor color1 = new Color();\n\nColor color2 = new Color();\n\nColor color3 = new Color();\n\nColor color4 = new Color();\n\nbyte nRed, nGreen, nBlue;\n\nbyte bp1, bp2;\n\nfor (int x = 0; x &lt; bmap.Width; ++x)\n\n{\n\nfor (int y = 0; y &lt; bmap.Height; ++y) { fr_x = (int)Math.Floor(x * nWidthFactor); fr_y = (int)Math.Floor(y * nHeightFactor); cx = fr_x + 1; if (cx &gt;= temp.Width) cx = fr_x;\n\ncy = fr_y + 1;\n\nif (cy &gt;= temp.Height) cy = fr_y;\n\nfx = x * nWidthFactor - fr_x;\n\nfy = y * nHeightFactor - fr_y;\n\nnx = 1.0 - fx;\n\nny = 1.0 - fy;\n\ncolor1 = temp.GetPixel(fr_x, fr_y);\n\ncolor2 = temp.GetPixel(cx, fr_y);\n\ncolor3 = temp.GetPixel(fr_x, cy);\n\ncolor4 = temp.GetPixel(cx, cy);\n\n\/\/ Blue\n\nbp1 = (byte)(nx * color1.B + fx * color2.B);\n\nbp2 = (byte)(nx * color3.B + fx * color4.B);\n\nnBlue = (byte)(ny * (double)(bp1) + fy * (double)(bp2));\n\n\/\/ Green\n\nbp1 = (byte)(nx * color1.G + fx * color2.G);\n\nbp2 = (byte)(nx * color3.G + fx * color4.G);\n\nnGreen = (byte)(ny * (double)(bp1) + fy * (double)(bp2));\n\n\/\/ Red\n\nbp1 = (byte)(nx * color1.R + fx * color2.R);\n\nbp2 = (byte)(nx * color3.R + fx * color4.R);\n\nnRed = (byte)(ny * (double)(bp1) + fy * (double)(bp2));\n\nbmap.SetPixel(x, y, System.Drawing.Color.FromArgb\n\n(\u06f2\u06f5\u06f5, nRed, nGreen, nBlue));\n\n}\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n}\n\n<\/pre>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"190\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/756889c6-f9eb-42ff-8c8c-2d706ae38829-300x190.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0622\u0645\u0648\u0632\u0634 HttpClient \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/756889c6-f9eb-42ff-8c8c-2d706ae38829-300x190.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/756889c6-f9eb-42ff-8c8c-2d706ae38829-768x487.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/756889c6-f9eb-42ff-8c8c-2d706ae38829.jpg 1024w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/190;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/httpclient-in-c-sharp\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0622\u0645\u0648\u0632\u0634 HttpClient \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u062b\u0627\u0644\u200c\u0647\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc<\/a>\n<\/section><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u06f8. \u0686\u0631\u062e\u0634 \u062a\u0635\u0648\u06cc\u0631 (Rotating and Flipping)<\/h3>\n\n\n\n<p>\u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0641\u06cc\u0644\u062a\u0631 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0648\u06cc\u0631 \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u062d\u0627\u0644\u062a \u0622\u06cc\u0646\u0647\u200c\u0627\u06cc \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0648 \u0628\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc enum \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"852\" height=\"394\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-9.jpeg\" alt=\"\u0686\u0631\u062e\u0634 \u062a\u0635\u0648\u06cc\u0631 (Rotating and Flipping)\" class=\"wp-image-45020 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-9.jpeg 852w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-9-300x139.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-9-768x355.jpeg.webp 768w\" data-sizes=\"(max-width: 852px) 100vw, 852px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 852px; --smush-placeholder-aspect-ratio: 852\/394;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void RotateFlip(RotateFlipType rotateFlipType)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nbmap.RotateFlip(rotateFlipType);\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f9. \u0628\u0631\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 (Crop)<\/h3>\n\n\n\n<p>\u0645\u0633\u0627\u0644\u0647 \u0628\u0639\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0628\u0647 \u0622\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u067e\u0631\u062f\u0627\u062e\u062a\u060c \u0628\u0631\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u06cc\u0627 \u06a9\u0631\u0627\u067e \u0627\u0633\u062a. \u0628\u0631\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u062f\u0648 \u0645\u0631\u062d\u0644\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645\u061b \u0627\u0628\u062a\u062f\u0627 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u063a\u06cc\u0631\u0636\u0631\u0648\u0631\u06cc \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0646\u06cc\u0645\u0647 \u0634\u0641\u0627\u0641 \u062f\u0631 \u0645\u06cc\u200c\u0622\u0648\u0631\u06cc\u0645. \u0633\u067e\u0633 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a\u200c\u0647\u0627 \u0631\u0627 \u062d\u0630\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0646\u0627\u062d\u06cc\u0647 \u0627\u0646\u062a\u062e\u0627\u0628\u06cc \u0628\u0631\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"436\" height=\"394\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-10.jpeg\" alt=\"\u0628\u0631\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 (Crop)\" class=\"wp-image-45021 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-10.jpeg 436w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-10-300x271.jpeg.webp 300w\" data-sizes=\"(max-width: 436px) 100vw, 436px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 436px; --smush-placeholder-aspect-ratio: 436\/394;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void DrawOutCropArea(int xPosition, int yPosition, int width, int height)\n\n{\n\n_bitmapPrevCropArea = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)_bitmapPrevCropArea.Clone();\n\nGraphics gr = Graphics.FromImage(bmap);\n\nBrush cBrush = new Pen(Color.FromArgb(150, Color.White)).Brush;\n\nRectangle rect1 = new Rectangle(0, 0, _currentBitmap.Width, yPosition);\n\nRectangle rect2 = new Rectangle(0, yPosition, xPosition, height);\n\nRectangle rect3 = new Rectangle\n\n(\u06f0, (yPosition + height), _currentBitmap.Width, _currentBitmap.Height);\n\nRectangle rect4 = new Rectangle((xPosition + width),\n\nyPosition, (_currentBitmap.Width - xPosition - width), height);\n\ngr.FillRectangle(cBrush, rect1);\n\ngr.FillRectangle(cBrush, rect2);\n\ngr.FillRectangle(cBrush, rect3);\n\ngr.FillRectangle(cBrush, rect4);\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0646\u0627\u062d\u06cc\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u060c \u06cc\u06a9 \u067e\u06cc\u063a\u0627\u0645 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0627 \u0627\u0632 \u0628\u0631\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"213\" height=\"127\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-11.jpeg\" alt=\"\" class=\"wp-image-45022 lazyload\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 213px; --smush-placeholder-aspect-ratio: 213\/127;\"><figcaption><\/figcaption><\/figure>\n\n\n\n<p>\u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631 OK \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u062f\u060c \u062a\u0635\u0648\u06cc\u0631 \u0628\u0631\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"797\" height=\"388\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-12.jpeg\" alt=\"\" class=\"wp-image-45023 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-12.jpeg 797w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-12-300x146.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-12-768x374.jpeg.webp 768w\" data-sizes=\"(max-width: 797px) 100vw, 797px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 797px; --smush-placeholder-aspect-ratio: 797\/388;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">public void Crop(int xPosition, int yPosition, int width, int height)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nif (xPosition + width &gt; _currentBitmap.Width)\n\nwidth = _currentBitmap.Width - xPosition;\n\nif (yPosition + height &gt; _currentBitmap.Height)\n\nheight = _currentBitmap.Height - yPosition;\n\nRectangle rect = new Rectangle(xPosition, yPosition, width, height);\n\n_currentBitmap = (Bitmap)bmap.Clone(rect, bmap.PixelFormat);\n\n}\n\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f1\u06f0. \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0645\u062a\u0646 \u0648 \u0627\u0634\u06a9\u0627\u0644 \u0628\u0647 \u062a\u0635\u0627\u0648\u06cc\u0631<\/h3>\n\n\n\n<p>\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f\u060c \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0627\u0634\u06a9\u0627\u0644 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0648 \u0645\u062a\u0646 \u0628\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0647\u0645\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0647\u0627 \u0627\u0632 \u0645\u062a\u062f Graphics \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"855\" height=\"780\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-13.jpeg\" alt=\"\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0645\u062a\u0646 \u0648 \u0627\u0634\u06a9\u0627\u0644 \u0628\u0647 \u062a\u0635\u0627\u0648\u06cc\u0631\" class=\"wp-image-45024 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-13.jpeg 855w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-13-300x274.jpeg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-13-768x701.jpeg.webp 768w\" data-sizes=\"(max-width: 855px) 100vw, 855px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 855px; --smush-placeholder-aspect-ratio: 855\/780;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><strong>\u06a9\u062f \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0645\u062a\u0646 \u0628\u0647 \u062a\u0635\u0648\u06cc\u0631<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void InsertText(string text, int xPosition,\n\nint yPosition, string fontName, float fontSize,\n\nstring fontStyle, string colorName1, string colorName2)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nGraphics gr = Graphics.FromImage(bmap);\n\nif (string.IsNullOrEmpty(fontName))\n\nfontName = \"Times New Roman\";\n\nif (fontSize.Equals(null))\n\nfontSize = 10.0F;\n\nFont font = new Font(fontName, fontSize);\n\nif (!string.IsNullOrEmpty(fontStyle))\n\n{\n\nFontStyle fStyle = FontStyle.Regular;\n\nswitch (fontStyle.ToLower())\n\n{\n\ncase \"bold\":\n\nfStyle = FontStyle.Bold;\n\nbreak;\n\ncase \"italic\":\n\nfStyle = FontStyle.Italic;\n\nbreak;\n\ncase \"underline\":\n\nfStyle = FontStyle.Underline;\n\nbreak;\n\ncase \"strikeout\":\n\nfStyle = FontStyle.Strikeout;\n\nbreak;\n\n}\n\nfont = new Font(fontName, fontSize, fStyle);\n\n}\n\nif (string.IsNullOrEmpty(colorName1))\n\ncolorName1 = \"Black\";\n\nif (string.IsNullOrEmpty(colorName2))\n\ncolorName2 = colorName1;\n\nColor color1 = Color.FromName(colorName1);\n\nColor color2 = Color.FromName(colorName2);\n\nint gW = (int)(text.Length * fontSize);\n\ngW = gW == 0 ? 10 : gW;\n\nLinearGradientBrush LGBrush =\n\nnew LinearGradientBrush(new Rectangle(0, 0, gW, (int)fontSize), color1,\n\ncolor2, LinearGradientMode.Vertical);\n\ngr.DrawString(text, font, LGBrush, xPosition, yPosition);\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<p><strong>\u06a9\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0627\u0635\u0644\u06cc<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void InsertImage(string imagePath, int xPosition, int yPosition)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nGraphics gr = Graphics.FromImage(bmap);\n\nif (!string.IsNullOrEmpty(imagePath))\n\n{\n\nRectangle rect = new Rectangle(xPosition, yPosition,\n\ni_bitmap.Width, i_bitmap.Height);\n\ngr.DrawImage(Bitmap.FromFile(imagePath), rect);\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<p><strong>\u06a9\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0627\u0634\u06a9\u0627\u0644 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0628\u0647 \u0639\u06a9\u0633<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void InsertShape(string shapeType, int xPosition,\n\nint yPosition, int width, int height, string colorName)\n\n{\n\nBitmap temp = (Bitmap)_currentBitmap;\n\nBitmap bmap = (Bitmap)temp.Clone();\n\nGraphics gr = Graphics.FromImage(bmap);\n\nif (string.IsNullOrEmpty(colorName))\n\ncolorName = \"Black\";\n\nPen pen = new Pen(Color.FromName(colorName));\n\nswitch (shapeType.ToLower())\n\n{\n\ncase \"filledellipse\":\n\ngr.FillEllipse(pen.Brush, xPosition,\n\nyPosition, width, height);\n\nbreak;\n\ncase \"filledrectangle\":\n\ngr.FillRectangle(pen.Brush, xPosition,\n\nyPosition, width, height);\n\nbreak;\n\ncase \"ellipse\":\n\ngr.DrawEllipse(pen, xPosition, yPosition, width, height);\n\nbreak;\n\ncase \"rectangle\":\n\ndefault:\n\ngr.DrawRectangle(pen, xPosition, yPosition, width, height);\n\nbreak;\n\n}\n\n_currentBitmap = (Bitmap)bmap.Clone();\n\n}\n\n<\/pre>\n\n\n\n<p>\u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0627\u06cc \u0634\u0628\u06cc\u0647 \u0628\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u062f\u06a9\u0645\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u060c \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0628\u0627\u0644\u0627 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"420\" height=\"388\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-14.jpeg\" alt=\"\" class=\"wp-image-45025 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2024\/08\/word-image-45011-14.jpeg 420w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2024\/08\/word-image-45011-14-300x277.jpeg.webp 300w\" data-sizes=\"(max-width: 420px) 100vw, 420px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 420px; --smush-placeholder-aspect-ratio: 420\/388;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 OpenCV \u0628\u0631\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e<\/h2>\n\n\n\n<p>\u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 OpenCV \u0628\u06cc\u0634 \u0627\u0632 \u06f2 \u0647\u0632\u0627\u0631 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u0627\u0646 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u062f \u062a\u0627 \u0645\u0633\u0627\u0626\u0644 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0648 \u0628\u06cc\u0646\u0627\u06cc\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u062f\u0631 \u0627\u06a9\u062b\u0631 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0632 \u062c\u0645\u0644\u0647 C# \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0627\u0633\u062a. \u0628\u0627 OpenCV \u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f \u06a9\u0647 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0628\u0631\u0634 \u0648 \u062a\u0642\u0637\u06cc\u0639 \u062a\u0635\u0627\u0648\u06cc\u0631<\/li>\n\n\n\n<li>\u0627\u0639\u0645\u0627\u0644 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0631\u0646\u06af\u06cc \u0645\u062e\u062a\u0644<\/li>\n\n\n\n<li>\u0627\u0646\u062c\u0627\u0645 \u067e\u0631\u062f\u0627\u0632\u0634 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0627\u062e\u062a\u0627\u0631 \u062a\u0635\u0627\u0648\u06cc\u0631<\/li>\n\n\n\n<li>\u0628\u0647\u0628\u0648\u062f \u06a9\u06cc\u0641\u06cc\u062a \u062a\u0635\u0627\u0648\u06cc\u0631<\/li>\n\n\n\n<li>\u062a\u0628\u062f\u06cc\u0644 \u0641\u0636\u0627\u06cc \u0631\u0646\u06af\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0631\u0627 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u062f!<\/h2>\n\n\n\n<p>\u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u06cc\u06a9 \u0645\u0628\u062d\u062b \u0628\u0633\u06cc\u0627\u0631 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u062f\u0631 \u0631\u0634\u062a\u0647 \u0639\u0644\u0648\u0645 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u0627\u0633\u062a. \u0627\u0645\u0631\u0648\u0632\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u0628\u0631\u0627\u06cc \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631\u060c \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0628\u0633\u06cc\u0627\u0631 \u06af\u0633\u062a\u0631\u062f\u0647\u200c\u0627\u06cc \u062f\u0627\u0631\u062f \u06a9\u0647 \u0627\u0632 \u062c\u0645\u0644\u0647 \u0622\u0646\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0628\u0627\u0632\u0634\u0646\u0627\u0633\u06cc \u0627\u0644\u06af\u0648 \u0648 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0627\u0634\u06cc\u0627 \u062f\u0631 \u062a\u0635\u0627\u0648\u06cc\u0631\u060c \u0633\u0627\u062e\u062a \u062d\u0633\u06af\u0631\u0647\u0627\u06cc \u0631\u0627\u0647 \u062f\u0648\u0631\u060c \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u0639\u06a9\u0633\u200c\u0647\u0627\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644\u060c \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u062f\u0648\u0631\u0628\u06cc\u0646\u200c\u0647\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u062a\u0631\u0627\u0641\u06cc\u06a9 \u0648 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u067e\u0632\u0634\u06a9\u06cc \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f.<\/p>\n\n\n<div class=\"jet-listing-grid--56206\" style=\"\"><div class=\"jet-listing-dynamic-field-block zht-maktab-khooneh-learn cb-ud1ng69u\"data-is-block=\"jet-engine\/dynamic-field\"><div class=\"jet-listing-dynamic-field__content\" >\r\n<div class=\"zht-learn-card\">\r\n    <div class=\"zht-learn-title-section\">\r\n        <div class=\"zht-learn-card-icon\">\r\n            <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" width=\"24\" height=\"24\">\r\n                <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\" \/>\r\n            <\/svg>\r\n        <\/div>\r\n        \r\n        <!-- \u0639\u0646\u0648\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u0644\u06cc\u0646\u06a9 -->\r\n        <a href=\"https:\/\/maktabkhooneh.org\/learn\/programming\/\" class=\"zht-learn-card-title\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n            \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc        <\/a>\r\n    <\/div>\r\n\r\n    <!-- \u062f\u06a9\u0645\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u062a\u06af button -->\r\n    <!-- \u0627\u0632 onclick \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u062a\u0627 \u0628\u0647 \u0645\u062d\u0636 \u06a9\u0644\u06cc\u06a9 \u0644\u06cc\u0646\u06a9 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u062f -->\r\n    <button class=\"zht-learn-card-btn\" data-course-url=\"https:\/\/maktabkhooneh.org\/learn\/programming\/\" onclick=\"window.open(this.getAttribute('data-course-url'), '_blank');\">\r\n        \u0634\u0631\u0648\u0639 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc\r\n    <\/button>\r\n<\/div><\/div><\/div><\/div>\n\n\n<p>\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627 \u0633\u06cc \u0634\u0627\u0631\u067e \u0633\u0639\u06cc \u06a9\u0631\u062f\u06cc\u0645 \u0646\u06a9\u0627\u062a \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u0648 \u0645\u0647\u0645 \u062f\u0631 \u0631\u0627\u0628\u0637\u0647 \u0628\u0627 \u0627\u06cc\u0646 \u0645\u0633\u0627\u0644\u0647 \u0631\u0627 \u0628\u0627 \u0634\u0645\u0627 \u0639\u0632\u06cc\u0632\u0627\u0646 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0628\u06af\u0630\u0627\u0631\u06cc\u0645. \u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u0628\u0627 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645\u200c\u0647\u0627\u06cc image Processing \u0628\u0647 \u0637\u0648\u0631 \u062c\u0627\u0645\u0639 \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u062f\u060c \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062f\u0631 \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc <a href=\"https:\/\/maktabkhooneh.org\/learn\/image-processing\/\">\u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631<\/a> \u0648 <a href=\"https:\/\/maktabkhooneh.org\/learn\/c\/\">\u0622\u0645\u0648\u0632\u0634 \u0633\u06cc \u0634\u0627\u0631\u067e<\/a> \u0645\u06a9\u062a\u0628 \u062e\u0648\u0646\u0647 \u0634\u0631\u06a9\u062a \u06a9\u0646\u06cc\u062f. \u0627\u0633\u0627\u062a\u06cc\u062f \u0627\u06cc\u0646 \u062f\u0648\u0631\u0647\u200c\u0647\u0627 \u0647\u0645\u0647 \u0645\u0628\u0627\u062d\u062b \u0631\u0627 \u0627\u0632 \u0645\u0628\u062a\u062f\u06cc \u062a\u0627 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0648 \u0628\u0647 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0634\u06a9\u0644 \u0645\u0645\u06a9\u0646 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u062f\u0627\u0646\u0634\u062c\u0648\u06cc\u0627\u0646 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f. \u0628\u0639\u062f \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u062f\u0648\u0631\u0647\u200c\u0647\u0627 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u062f\u0631\u06a9 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0648\u0627\u0631\u062f \u0628\u0627\u0632\u0627\u0631 \u06a9\u0627\u0631 \u0634\u062f\u0647 \u0648 \u0628\u0647 \u06a9\u0633\u0628 \u062f\u0631\u0622\u0645\u062f \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u062f. \u0633\u0648\u0631\u0633 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0628\u0627 C# \u0646\u06cc\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u062f\u0627\u0646\u0634\u062c\u0648\u06cc\u0627\u0646 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0627 \u0645\u0637\u0627\u0644\u0628 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062c\u0627\u0645\u0639 \u0648 \u06a9\u0627\u0645\u0644 \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u0646\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u06cc\u0627 Image Processing \u06cc\u06a9\u06cc \u0627\u0632 \u062d\u0648\u0632\u0647\u200c\u0647\u0627\u06cc \u0646\u0648\u0638\u0647\u0648\u0631 \u0648 \u062a\u0627\u062b\u06cc\u0631\u06af\u0630\u0627\u0631 \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0627\u0645\u0631\u0648\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u0647 \u0648 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0645\u0647\u0645 \u0631\u0627 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0648 \u0628\u06cc\u0646\u0627\u06cc\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0648\u06cc\u062f\u06cc\u0648\u0647\u0627\u06cc\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a\u06cc \u0627\u0632 \u062f\u0648\u0631\u0628\u06cc\u0646\u200c\u0647\u0627\u06cc \u067e\u0644\u0627\u06a9 \u062e\u0648\u0627\u0646 \u0631\u0627 [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":45026,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,19],"tags":[],"class_list":["post-45011","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-and-it-training","category-c-cpp-c-sharp-articles"],"_links":{"self":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/45011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/comments?post=45011"}],"version-history":[{"count":4,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/45011\/revisions"}],"predecessor-version":[{"id":65173,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/45011\/revisions\/65173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/media\/45026"}],"wp:attachment":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/media?parent=45011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/categories?post=45011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/tags?post=45011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}