nouryn 0 Newbie Poster

hey,
i'm having a problem that i have to read an image converted to numbers "0,1" from a file and then divide it to blocks so i can enlarge , compress and reverse the image.How can i do it????