Exercise 2: cutLoadPPM4ub

mw1039
Computerversteher
Computerversteher
Beiträge: 346
Registriert: 12. Apr 2011 12:18

Exercise 2: cutLoadPPM4ub

Beitrag von mw1039 »

Hi everyone,

we just found out that cutLoadPPM4ub (besides loading the PPM file) also introduces alpha values, even though there are no alpha values in the original Lena file. So, basically it loads the file into a one-dimensional array which contains [rgbargbargbargba...]. For the exercise you can just ignore all the alpha values.

Michael

Zurück zu „Archiv“