Solved

For Extended Assistance with Q_20919696

Posted on 2004-03-23
1
172 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Keyboard 2 41
How do I get the up & down arrow keys to navigate in an Autocomplete textbox list. 3 34
Name Space error VS2015 1 27
Why use this lambda? 12 40
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 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