Reading image data within an IPicture
-
Hi, I am currently writing a utility to detect blank pages in tiff documents and delete them. I have a toolkit to manipulate the file but unfortunately it does not have a very flexible blank page detection routine. So what I want to do is allow the user to set a percentage of black pixels parameter in a page and read the page data to look for the ratio of black to white pixels to determine if the page needs to be dropped. The toolkit allows me to get the image data for each page into an IPicture but I am stuck from there on how to read the image data. Currently the system only needs to read black and white images (colour may be an option later but I will try to cross that bridge when I come to it) So in short, can anyone help me in reading B&W data in an IPicture to count the black and white pixels? Many thanks Mark