QUESTION ABOUT TIFFS WITH MFC
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
i am working with tiffs and need help on one part. i can get the pointer to the header. ImageHdr = (LPSTR)::GlobalLock((HGLOBAL) hTif2); my problem is getting the pointer to the raw image. the following works if i know what the bytesoffset should be. i can access it using tif tags (273) the first time. but after the image is manipulated (dialated, rotated, etc) i can not find the pointer to the raw image(the image offset changes). pImage=(unsigned char*)ImageHdr+BytesOffset; is there a function that can give me the pointer to the raw image without using tif tags? thank you.