?
Solved

For Extended Assistance with Q_20919696

Posted on 2004-03-23
1
Medium Priority
?
177 Views
Last Modified: 2010-04-15
0
Comment
Question by:derekthornton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
KhunJean earned 1000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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