I need found coder who use c++ to load the tiff file first, and write two methods. One is IsBlank for checking specific page whether blank or not.
another method is GetConfidence method, It will return percentage of blank pixels.
? the coder must use vc++ 6.0 and call gdi+ to load the tiff file, select specific page , checking whether blank page and return percentage of blank pixels for current page.
If you have not vc++ 6.0 you may use vs 2003 or vs 2005. I will try convert the code to vc++ 6.0. If I found any problem when converting the code, you need help me.
Finally you need provide c++ sample how to call IsBlank and GetConfidence method.
One is bool IsBlank (double iConfidence)
The purpose of IsBlank is checking the TIFF(selected page) whether have blank page,
iConfidence - Maximum percentage of blank pixels. Usually 99.
Most of the time, we consider that a page with more than 99% of Blank pixels is blank.
You will load the tiff file first and then call IsBlank method. it will return true or false
After I selected the coder, I will send the sample tiff file that have some blank page, you may testing it.
I mainly need IsBlank and GetConfidence method.
Another is double GetConfidence method, It will return percentage of blank pixels.
e.g.
I load the attached tiff page and load the page 1,if I call IsBlank(90), the IsBlank method return false, but actually the page is blank. I try call GetConfidence method, it return 95. It mean it have 95 percentage of blank pixels.
Then I call IsBlank(95), it will return true
do not use gdi+ getpixel method, it is slow, you may use LockBits method, it will faster to access each pixel.
e.g.
pMonoImage->LockBits(
&rect,
ImageLockModeWrite,
PixelFormat1bppIndexed,
&monobitmapData);
## Deliverables
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
2) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
3) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Employer's environment--Deliverables must be installed by the Worker in ready-to-run condition in the Employer's environment.
b) For all others including desktop software or software the employer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this project.
## Platform
win xp, window 7