المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : سؤال لخبراء فجوال بيسك



امة الإله
10-01-2005, 12:13 AM
السلام عليكم ورحمة الله وبركاتة
السؤال: ماهي المراحل التي يمر فيها الكمبيوتر في معالجة الصورة وياااااااريت الرد يكون بشكل اكواد وشرح مبسط محتاجااااااه ضرووووووري عشان مشروعي :(
** ولكم جزيل الشكر** :08:

رنجوجيت
10-01-2005, 06:21 AM
أختى ممكن توضحى أكثر

infitar
10-01-2005, 01:30 PM
لا يحتاج إلى كود لشرحه...

سأشرح في الإنجليزي لأني بطيء في الكتابة بالعربي...

i will just explain the logic...

i will use bitmap files coz they r simple...

there r 3 steps to draw a bmp file...

read the file header to know what kind of image u r loading...eg. width, height bbp...

read pixel data...rgb/rgba...a byte per channel..

draw with gdip...use a pen...change color of the pen accordingly...do this step on paint event of ur drawing target...
_

jpg, png, tga...ect are almost the same...except that they r compress/encode...u need to uncompress/decompress it...