I've just used the function " png_read_rows(png_ptr, row_pointers, NULL, 1) ; " but the result for the first 10 byte was " 24, 25, 25, 25, 25, 25, 26, 26, 26, 26 " ......
Type: Posts; User: fleurdelys
I've just used the function " png_read_rows(png_ptr, row_pointers, NULL, 1) ; " but the result for the first 10 byte was " 24, 25, 25, 25, 25, 25, 26, 26, 26, 26 " ......
First of all I'm sorry for taking this long time to put my comment .... Your are right Salem, after checking the first 10 byte of my whole image (To do the check I red all the image using...
I think that this problem will drive me crazy :p ...... when I try to read the data from row_pointers, it seem to be completely different from the image data
Where is the problem ???? Thanks...
Thank you so much Salem it works now :wink:
Thank you Salem for your reply , but when I put
row_pointers = png_malloc(png_ptr, height*png_sizeof(png_bytep));
an error produce "Impossible to convert 'png_voidp' to 'png_byte **'...
Good mornning everyone
I'm trying to read a part of a PNG image file using Libpng and VC++ 2008 but unfortunately while executing the program an error " access violation memory" occured
//...