Solved

For Extended Assistance with Q_20919696

Posted on 2004-03-23
1
170 Views
Last Modified: 2010-04-15
0
Comment
Question by:derekthornton
1 Comment
 
LVL 2

Accepted Solution

by:
KhunJean earned 250 total points
ID: 10706488
Derek,

Remeber i did this a long time ago. Not using C#.
I just checked the filesize.

But something like this can do the trick. If you already have a bitmap in memory.

The original bitmap stored in MyBitmap. Compress it with:

MyBitmap.Save(MemStream, System.Drawing.Imaging.ImageFormat.Png)

and check for its size with

MemStream.Length.

If it is under a certain size you have your seperator bitmap.

I scanned pictures. Complete blank CLEAN pictures had an avarage size of 1.5 Kb.
Pictures with some smudges had about 8-10Kb.
Because all the other pictures had a size bigger than 100Kb it was an easy test.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Chat Room 1 43
SQL Query Producing decimal places when it shouldn;t be 8 35
Run time Error 4 34
Video Player 2017 5 11
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now