Matrix of pixels from/to an image file


Please, point me to an easy way of obtaining the matrix of pixels
from an image file (in any common format, like jpeg, png or xpm)
and the reverse, given the matrix of pixels, write it as an
image file.

I am programming in C/C++ for Linux with Gtk+.

Prof. José Romildo Malaquias               Departamento de Computação       Universidade Federal de Ouro Preto
romildo iceb ufop br                                           Brasil
romildo uber com br

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]