فبراير 28 2009
شرح فلتر Displace
بسم الله الرحمن الرحيم
فلتر Displace
احد الاعضاء طلب مني شرح هذا الفلتر لانة موجود باكثر من درس من دروسي وهو لايعلم ماهو عمل هذا الفلتر ولماذا دائماً نستدعي ملف فوتوشوب اخر لتطبيق هذا الفلتر ؟!!
الاجابة على هذا السؤال هو بكل بساطة .. ان هذا الفلتر يحتاج الى ملف فوتوشوب دائماً ليتم عمل هذا الفلتر
فالفلتر بكل بساطة يعتمد على لونين .. الابيض والاسود ليتم ازاحة البيكسل ( حسب قيمة البكسل التي وضعتها في الفلتر ) في الاماكن المعتمة
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
لنرى مثالاً لذلك
نفترض اننا نريد ان نضع كتابة على قماش .. ونريد من الكتابة ان تتعطف مثل القماش كأنة حقيقي على القماش
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
طبعاً الحل هو اكيد فلتر displace
وحسب شروط هذا الفلتر .. يجب ان يكون هناك ملف فوتوشوب ونسمية عادة ( displace او map ) لكي نفرق بينة وبين الملف الاصلي للعمل .
والشرط الثاني هو يجب ان يكون هذا الملف بلونين الابيض والاسود ..
اذا ولكي نطبق هذة الشروط .. نقوم بعمل نسخ لهذا العمل وبنفس الحجم وذلك عن طريق الذهاب الى قائمة Image
ثم اختيار Duplicate..
وبذلك نكون عملنا نسخة للملف الاصلي ..نقوم باخفاء لير الكتابة وثم نشيل الالوان عن النسخة وذلك بالضغط على Ctrl +Shift+U
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
الان نحفظ هذة النسخة ونسميها مثلاً Displace في اي مكان على الجهاز
خلاص نغلق هذة النسخة بعد الحفظ ونرجع الى الملف الاصلي
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
والان نطبق الفلتر على الكتابة .. نختار لير الكتابة ثم نذهب الى الفلتر
Filter >> Distort >> Displace
سوف تظهر قائمة تخبرك ان لير النص سوف يتحول الى لير عادي .. اضغط موافق
الان سوف تظهر لك قائمة الفلتر .. ضع القيمة التي تريد تحريك البكسل .
فالقيمة الاعلى سوف تحرك البكسل باتجاة راسي .. والقيمة الاسفل سوف تحرك البكسل باتجاة افقي ..
ويفضل ان تكون القيم متساوية
مثلاُ هنا سوف نظع 30 لكل الخانات
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
(وطبعاً هذة القيمة ممكن تغيرها لترى النتيجة .. )
وسوف تكون النتيجة كالاتي
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} a:link, span.MsoHyperlink {mso-style-unhide:no; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
وهذة كل الحكاية عن هذا الفلتر ..
طبعاً نلاحظ بالنتيجة ان الكتابة مشوهه قليلاً .. ولتفادي ذلك اضف فلتر Gaussian Blur على صورة القماش بقيمة صغيرة .. وسوف تنحل المشكلة ان شاء الله
ودمتم بسلام
اتمنى ان تكونوا استفدتوا من الدرس واعذروني على اي تقصير مني
واي استفسار راسلوني على هذا البريد






أغسطس 20, 2009 @ 03:11:10
I usually don’t post in Blogs but your blog forced me to, amazing work.. beautiful …
أغسطس 20, 2009 @ 08:04:10
thank you very much