Click here to Skip to main content
15,891,316 members
Everything / Bitmap

Bitmap

Bitmap

Great Reads

by #realJSOP
Determine the number of unique colors in an image
by Isaac RF
To create visually engaging apps, displaying images is a must. Learn to display Bitmaps Efficiently on your Android apps, without giving away performance. The post Displaying Bitmaps Efficiently on Android apps appeared first on Isaac RF.
by ToughDev
Revisiting Mario Game Written in Pascal
by V.
Convert FITS file to known image formats and use those images for a "zooming" functionality (image transparency)

Latest Articles

by honey the codewitch
Image Resizer automatically resizes images you drop in a monitored folder based on criteria you give it. It can also change image formats.
by ToughDev
Revisiting Mario Game Written in Pascal
by pdoxtader
Very fast image processing without use of unsafe code
by honey the codewitch
Use an ILI9341 display efficiently from an ESP32 without the Arduino framework. Load JPEGs.

All Articles

Sort by Title

Bitmap 

16 Mar 2014 by Sicppy
I get "A generic error occurred in GDI+" when I try to save a bitmap(that I have opened and edited). It only happens some of the time. I have no idea why this is happening, please help. It occurs at line 162.Thanks in advance,Jordanusing System;using...
16 Mar 2014 by Abhinav S
Check the folder permissions where you are saving the file.You should have permissions to save the file.In addition, ensure that the file does not already exist and is open in another program.
18 Mar 2014 by Johannes Bildstein
Reading and writing Bitmaps with full 16bit per channel (and possibly more)
1 Oct 2012 by Jackie00100
Hi im working on a little "lol" project that should work like a semi-simple image editor, and i am currently looking for a way to add text to a image. How ever the text is RTF encoded (to get the bold/italic etc. options) and i really wanna have this added to the program.I've seen a few...
1 Oct 2012 by Bernhard Hiller
You need the Graphics.DrawString method. You can get the Graphics object by Graphics.FromImage. And then draw all the text your self...
2 Oct 2012 by BobJanova
There are two options here:You can write the text to a RichTextBox and then screen capture it with Control.DrawToBitmap[^]. You probably need to post-process the Bitmap you get to sort out the transparency.You can write a miniature RTF (or HTML or other tagging system; RTF is pretty...
21 Oct 2012 by Jackie00100
I found this class recent extending the graphics class, i changed it a little, and it does everything i could ask for!using System;using System.Drawing;using System.Runtime.InteropServices;using System.Windows.Forms;using System.Drawing.Imaging;using System.Text;public static...
28 Sep 2015 by Scarnet
Hello, I'm using that code below to get the text from a hidden file that contains the string of an SVG tag in the ASPX file then I used the SVG library to get a bitmap image out of this SVG text the function Draw() returned a bitmap image just fine but whenever I try to save that bitmap...
28 Sep 2015 by OriginalGriff
There are loads of ways to cause this, but in your case, it's almost certainly becais ethe path is invalid: Bitmap.Save expects a "normal" windows path, not an IIS based path descriptor.Try this:image.Save(Server.MapPath("~/img/temp/temp.bmp"));And make sure that the "img" and "temp"...
30 Mar 2013 by liaoyuandeyehuo
LPDIRECT3DSURFACE9 g_pSurface;...
30 Mar 2013 by Maxim Kartavenkov
1. GetFrontBufferData does not recommended to use as it slow.2. You are getting screen into system memory and what for you copy it back to the texture?3. You copy via Locking which is not good.To solve your issues see:This API D3DXLoadSurfaceFromSurface usd to copy from one surface to...
23 Jan 2012 by Stef Cas
A VB.NET project showing how to build a simple magnifying glass.
16 Jul 2012 by bikekowal
Hi all,I have a following problem. I want to build a application processing images from a camera in real time. The problem is that I cannot get to the bitmap data correctly. The following piece of code is running without errors but the problem is that the images don't change. The code...
16 Jul 2012 by Sergey Alexandrovich Kryukov
As I can see, you manipulate the bitmap and then completely forget the result, replacing it with a brand new instance of a bitmap (a line of code with new Bitmap(&hellip)).Besides, the name "m_PicBoxes" suggests that you use the class System.Windows.Forms.PictureBox, which is not a very good...
23 Aug 2013 by Totallyniels
Hello all,I would like to start off with stating that i'm not a professional programmer, and often work from examples I find on sites like Code Project. It might be that i'm approaching this from the wrong angle, so please comment as you see fit.BackgroundFor some analysis purpose I...
24 Aug 2013 by Totallyniels
For anyone interested..I solved this by creating a "Mask" bitmap and filling it white and the region with black. I could then iterate the mask bitmap pixels to get pixels of interest. Without filling it completely white pixels are somehow not read correctly.The solution was actually...
15 Oct 2015 by Member 11999641
hi Members, I have a ajax tab container that has several tabs, and I want to use DrawToBitmap to save each visible tab page as a separate bitmap file in an Image folder. My tab pages are created dynamically.This is my codes://Aspx file
4 Oct 2015 by dsz_848
I am trying to implement an application to get an image from the device and add it to the canvas then start drawing on it using brush and eraser (like snapchat idea) I used Drawing app as a basehttp://code.tutsplus.com/series/create-a-drawing-app-on-android--cms-704My problem for now is...
4 Oct 2015 by Krunal Rohit
case MotionEvent.ACTION_UP: drawPath.lineTo(touchX, touchY); drawCanvas.drawPath(drawPath, drawPaint); drawPath.reset();// this line is the issue, on Touch_Up you're resetting the drawPath, which means whatever changes you've made so far, it'd be all gone.-KR
17 Dec 2018 by OriginalGriff
And how does this differ in any material way from your last question: How to crop an image in an appropriate way, C#?[^] The solution you have been given does not change just because you don't like the answer!
27 Dec 2020 by Steffen Ploetz
Step-by-step instructions and source code snippets for inserting a bitmap (or a section of it) into an icon image.
4 Jan 2018 by Amedora Ahmed
I am reading binary data image from a serial port device how can i write it to a black and white image file. The project is a bill counting machine which solution. the device scans images of serial number of bill counted including the data counter Below is the data returned from the device as...
21 Mar 2012 by sidali.kadi
hi guysi want to know how can i convert the binarywriter to stream or binarywriter to a bitmapbest regards
21 Mar 2012 by Sergey Alexandrovich Kryukov
You cannot "convert" them. The whole notion makes no sense.First: System.IO.BinaryWriter vs. System.IO.Stream. First class is a specialized wrapper (binary, write-only) over the second one. Please see:http://msdn.microsoft.com/en-us/library/system.io.binarywriter.aspx[^].Do I have to...
27 Aug 2013 by huyletran
Create a new bitmap by combining many bitmaps.
13 Feb 2013 by Martin P. Davies
Hi all,I have a problem with the Bitmap constuctor in .NET - it works fine in Windows 7, but throws an ArgumentException in XP, which is doubly confusing as according to MSDN documentation, the only exception thrown by the Bitmap constructor is a FileNotFoundException.As part of a...
13 Feb 2013 by TRK3
It's patently false that the only possible exception is FileNotFound. The file could certainly existed but have an exclusive lock on it -- in which case the constructor would have to fail, but not because the file wasn't found.Documentation says:"The file remains locked until the Bitmap...
5 Aug 2016 by User 6976447
I am using a custom class to write an image onto another image of bigger size.I am using a custom class to write an image onto another image of bigger size.doc - Google Drive[^]public class BitmapLockerTest{ private static string path = @"locker.png"; public static void...
20 Apr 2020 by AskalotLearnalot
I am using Bitmap to water mark tif image files after it reach file number 440 the image size increases which results in a small text watermark. My method is designed to process large amount of files, it also checks if the image is colored or not...
20 Apr 2020 by OriginalGriff
We can't really tell, without running your code on your data - and we don't have access to either! So, it's going to be up to you. Fortunately, you have a tool available to you which will help you find out what is going on: the debugger. If you...
1 Nov 2018 by MartinXLord
clone(Bitmap,format) Compiler say there is no overload that takes 2 arguments Microsoft docs describes the method ( with 2 arguments) for net frameworks 1.2 to 4.7.2 (Bitmap.Clone Method (System.Drawing) | Microsoft Docs[^]) I am using framework 4.5 and visual studio 2012 Express I have...
31 Oct 2018 by MartinXLord
Edit the source line is:- newImage = (Bitmap)image.Clone(sRec,PixelFormat.Format16bppArgb1555); newImage is defined in the class Form1 : Form by:- "Bitmap newImage = null;" The compiler message was:- 'Error: No overload for method "Clone" takes 2 arguments'
31 Oct 2018 by F-ES Sitecore
You're missing some parenthesis. newImage = ((Bitmap)image).Clone(sRec,PixelFormat.Format16bppArgb1555); In your original code "(Bitmap)image.Clone" You are calling the Clone method on whatever type image is, you're not calling it on image cast to Bitmap. By adding the parenthesis you are...
1 Nov 2018 by MartinXLord
I have now tested this with Visual Studio 2017 Compiles OK - no error message
13 Aug 2016 by Member 12684118
HI,codeprojectersi have a question how would i put a bitmap on my button in dynamic library the bitmaps needs to be in /themes/ for who want a costum buttonWhat I have tried:I tried loadbitmap and etc but it didnt work
13 Aug 2016 by Jochen Arndt
If LoadBitmap() fails call GetLastError() to know the reason for the error.Loading a bitmap from file (especially by a dynamic library) is a bad idea because you have to hard code the path to the file. For this reason I expect the error code to be 2 (ERROR_FILE_NOT_FOUND).A better...
13 Aug 2016 by Member 12684118
Do you have any example on how to do it and display the image on the button??
6 Feb 2020 by Member 14589606
I try to run the code, it doesnt tell the format but closes immediately, any ideas? The path is correct as it some times flashes the format and then closes using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using...
6 Feb 2020 by phil.o
If you do not want it to close automatically, you can addConsole.WriteLine("Press a key..."); Console.ReadKey(); at the end of the Main method.
10 Jul 2011 by Bob Namenottaken
Using SetBitmapBits is confusing me. Is its sole purpose to transfer my array of pixel info to a buffer owned by the handle "HBITMAP" ?Is there a way to know where this buffer is located and write to it directly?Seems like a waste of time to draw on your own array and then perform a huge...
10 Jul 2011 by Emilio Garavaglia
GDI object's internal data don't belong to your process but to the GDI subsystem. You cannot read/write to them directly because there is a "process boundary" in between (they can even be on another machine!).The memory itself can be moved around by the GDI functions, without your program...
9 Jun 2014 by Mohammed Nabeel Khan
Getting (Bitmap region is already locked) error when locking two bitmaps to compare pixels.Bitmap b = (Bitmap)pictureBox1.Image; Bitmap b2 = (Bitmap)pictureBox1.Image; // GDI+ still lies to us - the return format is BGR, NOT RGB. BitmapData bmData...
9 Jun 2014 by Sergey Alexandrovich Kryukov
What is unclear in this error message? It is quite straightforward. You are doing wrong thing: you cannot lock bits on the same Bitmap b twice and work with bmpData and bmpData2 at the same time. And, in practice, it's never needed. You can create bitmap data once, do what you need to do with...
21 Mar 2015 by Member 11544807
Hi guysmy problem is to convert bitmap to SVG in c#. I found something like this http://docs.opencv.org/2.4.2/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.html but this didn´t solve my problem. I need to convert for example a facewith white background from bitmap to...
21 Mar 2015 by OriginalGriff
We aren't going to be able to give you an "out of the box" solution: this is not a trivial process in any way, shape or form.The problem is that Bimap, JPG, PNG, etc. files are raster graphics: they store a fixed array of pixels in various shades of red, green and blue (or hue, lightness and...
21 Mar 2015 by phil.o
SVG being an xml-based format, if you do not want to use xml, you are going to have quite a hard time :)The following post on SO could perhaps shed a light on your requirement:SO: Convert Image (JPG,BMP,GIF) to SVG[^]
22 Mar 2015 by Member 11544807
ok so now.. i need to trace that bitmap... and then vectorize it... and save as SVG... but i cant use freeware like inkscape... i need to make my own app.
23 Nov 2011 by Freeboss
Hi,Let's create a:ObservableCollection BitmapsLists = new ObservableCollection();Then let's fill it with some random Images: foreach (string item in Directory.GetFiles("Some Folder")){ BitmapImage BitImage = new BitmapImage(); ...
23 Nov 2011 by LanFanNinja
Try thisGC.Collect();GC.Collect Method [^]
23 Nov 2011 by Freeboss
I found it.. I'll post the solution l8---------------------------------Just Because you create a BitmapImage using a Uri as source doesn't mean that it it being created at the same time even if you set the BitmapCacheOption to whatever value..The BitmapImage is gonna get Loaded into...
15 May 2011 by kribo
How to insert images / binary data into a database.
13 Sep 2017 by Member 13373000
I am working with COM Interface of a software, OMICRON MPD 600 to be particular. I would like to take a screenshot using the provided methods however it returns the image as DIB populated inside byte array. How can use this byte array to save this screenshot as an image. I would prefer DIB to...
13 Sep 2017 by Graeme_Grant
There is an article right here on Code Project that will answer this for you: DIB to System.Bitmap[^]
29 May 2015 by tetsuoandyouth
I'm trying to create a method which loads a image (png) and stores it in a Bitmap variable to be used later. The code is as follows: private static Bitmap LoadImage(string subfolderName, string imageName) { string fileSpec = string.Format(@".\Images\{0}\{1}.png", subfolderName,...
29 May 2015 by OriginalGriff
Start by doing two things.First, change your code slightly: string fileSpec = string.Format(@".\Images\{0}\{1}.png", subfolderName, imageName);Becomes: string fileSpec = Path.Combine(@".\Images", subfolderName, imageName + ".png");This removes any chances that your...
8 Apr 2011 by Makiguso
Dear reader,I came here with a problem.I've been working days on a code that draws a grid of dots (6 rows, 8 columns) on the form. It was very hard for me to understand how to get it drawn on the form as my knowledge with Graphics in C# is very poor, but working eventually.What I'm trying...
8 Apr 2011 by Olivier Levrey
Is it really necessary to use an image? Can't you draw directly inside your form?You can use the MouseDown event to get the click position, and Paint event to redraw your line: public partial class Form1 : Form { public Form1() { ...
29 May 2017 by OriginalGriff
Not really: JPEG files are already compressed, and further compression often makes them larger, not smaller. You're already using ZIP compression, but it's unlikely to produce significant gains on a JPEG file anyway. If you get an extra 10% then you were doing well. But...you do realise that...
29 May 2017 by CPallini
As already noted you usually can't gain much trying to compress a JPEG image, which is alreay compressed. In your code you changed the image size, making it smaller. If it is acceptable to make it even more smaller, then you may save some memory.
28 May 2019 by MinYoung Lee
I've been trying to develop Remote Desktop Program in C# and I want to make the BYTE size of my Image smaller. Here is my attempt below so far. // int w = Screen.PrimaryScreen.Bounds.Width; int h = Screen.PrimaryScreen.Bounds.Height; ...
28 May 2019 by AntonioLeonardo
The imagem compression follow another objects and features that different of trivial files; image compreession has properties to equalize the compression. Like code bellow, the compression act on Quality property: static byte[] CompressByImageAlg(int jpegQuality, byte[] data) {...
4 Nov 2012 by DX.Zong@hotmail.com
hi,I have written code like this: private static unsafe Point[] Hproject(Bitmap bmp) { int height = bmp.Height; int width = bmp.Width; Point[] result = new Point[height]; var data = bmp.LockBits(new Rectangle(0, 0, width, height),...
4 Nov 2012 by DX.Zong@hotmail.com
Is anyone help me to check the upper code?
24 Jun 2014 by pertican2010
Hi I Working On WPF Project And Need To Show Image From Sqlite In Canvas. Int32 i = 1; if (i > 0) { DataRow dataRow = helper.DataSet.Tables[0].Rows[i - 1]; //Get Bytes From DataBase ...
24 Jun 2014 by pertican2010
Here Is My Codes I Get Image Byte Array From My DataBase And Convert It To Bitmap And When I Want Show It On Canvas I get This ErrorIs There Other Way To I Convert Bitmap To Image And Show It In Canvas Box? private void comboBox1_SelectionChanged(object...
24 Jun 2014 by Balav4
Hi Try this MemoryStream Ms = new MemoryStream(); System.Drawing.Bitmap ObjBitmap = null; ObjBitmap = //Load your Image; ObjBitmap.Save(Ms, System.Drawing.Imaging.ImageFormat.Bmp); ...
1 Dec 2011 by mgulde
Hello everybody,I am currently dealing with very large bitmaps (32bit, > 1GB) close to the bitmap size limit (~ 32 kpx squared). For file storage reasons, I would like to convert these bitmaps into more suitable formats, e.g. jpg or png. But I have to convert them without loading the whole...
1 Dec 2011 by MuhtarQong
Now, you are using Photoshop. What is the environment at the later stage of your project (.NET or Java or C)?
1 Dec 2011 by #realJSOP
You might want to look into using the FreeImage library or the ImageMajik library. I'm pretty sure one or both of them can handle images that size (GDI+ is the reason you can't do it in native .Net).Google is your friend.
23 Jul 2012 by NypStu
Hello, I have a question regrading about converting int into bmp. my objective is to convert the int into a greyscale bmp so i set Red blue green into the same value. however because the value of 2d array is int array_ptr[1000][1536];(1536 col x 1000rows) which i have declare using double...
23 Jul 2012 by enhzflep
I did something like this years ago when creating a series of images that could be used as a height-map for surface of an animated, windswept ocean. Lots of fun at the time in that one... Complex Numbers --> rgb images. :wtf:Anyhow, a couple of questions that come to mind:1. What's the...
23 Jul 2012 by enhzflep
I'd have preferred to add this code to a comment, but it's just impractical for so many reasons.Here's the code I had in the project I mentioned earlier. It does seem a bit funky now, some 4 1/2 years on - I think saveBMPfloat would be the easiest/quickest to modify. Just snip/replace the...
24 Jul 2012 by nv3
In my opinion you are making things more complicated than they have to be. Here is the code that allocates your 2-dimensional array: int** array_ptr; array_ptr = new int * [1000]; // 1000 row pointers for(int i = 0; i
3 Dec 2017 by completeknowitall
Um.. I thought I understood scan line... but when I step through the code, the source pointer remains empty and nothng gets transferred. I you have any advice, I'm listening. this is the core of my code, I'm hoping to do stuff to the pixels between reading and writing, but this part doesn't...
5 Jan 2016 by Dave Kreskowiak
I haven't touched C++ in about 5 years and I've never even heard of Embarcadero, but... it looks like your cast is being applied to the wrong item. Shouldn't it be something like:Sbyte = (TRBGTriple *)(Source->scanline[y]);
21 Feb 2011 by Member 7692532
What I'm trying to do is to recognize words from a BMP or preferably directly on screen. I honestly have no idea where to start with this. The best thing I can come up with is to have a preset image and compare it to where it should be on the screen, but that would require a lot of CPU and quite...
21 Feb 2011 by Manfred Rudolf Bihy
Try this CP article for starters: OCR With MODI in Visual C++[^] and here you'll find an open source .NET C++ library: http://www.pixel-technology.com/freeware/tessnet2/[^]Modification:MODI has been deprecated in MS Office 2010. The replacement is OneNote and here is a useful link to...
4 Apr 2014 by AlwaysLearningNewStuff
I have a dialog box with a bitmap as background.I am trying to create transparent treeview so I need to grab the underlying bitmap from treeview's WM_PAINT handler, but I do not know how to do this.I assume that I will need ScreenToClient and ClientToScreen APIs, but I do not know how to...
4 Apr 2014 by KarstenK
you must transform with the right HWNDHWND hParent = GetParent(hwnd);ClientToScreen( hwnd, &ptTreeUL );ClientToScreen( hwnd, &ptTreeLR );//dont write such code ;-)ReleaseDC( GetParent(hwnd), pDC );tip: create the bitmap globally once to improve performance
12 Dec 2014 by Member 11287295
This is how i'm creating the bitmapBitmap bmp(100, 100, PixelFormat32bppARGB);Then I use LockBits to change a portion of the bitmap's pixelsvoid Example_LockBits2(){ UINT* pixels; // Lock a 50xs30 rectangular portion of the bitmap for writing. BitmapData...
22 Dec 2014 by bling
You need to assign bitmapData to the return value for Lockbits. BitmapData bitmapData = bmp.LockBits( &rect, ImageLockModeWrite, PixelFormat32bppARGB, &bitmapData);
21 Sep 2011 by Member 4160511
Hi everyone,is it possible too capture a Bitmap from a hidden WebbrowserControl?webBrowser1.DrawToBitmap(b, new Rectangle(0, 0, 600, 400)); doesn't work.This will only capture the control itself(scrollbars) not the children's so the content area is still white :-(any...
22 Sep 2011 by DaveAuld
Here's an example;http://www.geekpedia.com/code140_Taking-Website-Screenshots-With-The-WebBrowser-Control.html[^]
17 Jul 2012 by lakshman udayakantha
In my application I want to write a function that capture the mouse cursor image and return it as a buffered image(I hope to use that buffered image to receive from a java application via jni to construct the image for later use). I used below code snippet to get the mouse cursor image. bmi...
17 Jul 2012 by E.F. Nijboer
The following should give you hex values:cout
30 Apr 2016 by ByeByeByeByeBye
how would I change the wallpaper with C# back to a known path of a bitmap or remove the wallpaper for good? Is there any command for it. A SendKeys Combo would be fine.Can't access my wallpaper settings manually any longer, it's been greyed out all options and I have a strange bitcoin...
30 Apr 2016 by Richard MacCutchan
See also Wallpaper Changer[^].
10 May 2014 by AlwaysLearningNewStuff
I have a bitmap which background needs to be replaced with part of another bitmap. Everything works fine until I enable ClearFont on my WindowsXP.In order to explain my problem better, let us label first bitmap as bmpDestination and second as bmpSource.Here[^] is how the bmpSource looks...
10 May 2014 by leon de boer
I added this to your previous post it got messy so you probably missed it.There are ways around it but they are all slow and give different results which you have to choose between. There is no perfect solution because it is a bug or over-sight in windows Cleartype implementation.I...
11 May 2014 by leon de boer
I have studied carefully the code from your previous answer and managed to handle WM_WINDOWPOSCHANGED properly for multiple windows but I can not handle slight flickering.What is causing the flicker is the way the listbox draws each item you need to do you own drawing to solve the problem...
11 May 2014 by leon de boer
Oh I forgot I further improved your redraw and made it compliant to handling WM_PRINTCLIENT itself.case WM_PAINT: { // usual stuff PAINTSTRUCT ps; HDC hdc = BeginPaint( hwnd, &ps ); // Simply get printclient to paint ::SendMessage(hwnd, WM_PRINTCLIENT,(WPARAM)...
7 Sep 2018 by iDebD
//CMFCToolBar m_wndToolBar;if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || !m_wndToolBar.LoadToolBar(theApp.m_bHiColorIcons ? IDR_MAINFRAME_256 : IDR_MAINFRAME)) { TRACE0("Failed...
13 May 2013 by KarstenK
use need to use DIFFERENT toolbars with the actual bitmap. Whether you create a new one and delete the old, or create an array is your choice.
13 May 2013 by KarstenK
step into the code and you will see, that the bitmap is attached to the toolbar, so you cant change it. So you need another toolbar.I have done that in the old XP-times and it worked fine.
9 Sep 2018 by jung-kreidler
Probably a little bit late, but it might help others. No, there's no need for another toolbar. When creating a toolbar the bitmap is loaded to a CMFCToolBar internal object, which can be reset by CleanUpLockedImages. After this another bitmap can be loaded with a call to LoadBitmap (same as...
26 Nov 2011 by chieto
Anyone here know how to compare 2 images. . and then show how many percent from before and after image captured. thanks in advance.
26 Nov 2011 by Abhinav S
This[^] might help you.
26 Nov 2011 by Yvan Rodrigues
That's kind of vague, but in essence you need to instantiate two System.Drawing.Bitmap objects and compare them pixel by pixel.You might find that something in the AForge.NET library could help your specific case._________________________________Yvan RodriguesRed Cell Innovation...
26 Nov 2011 by Manoj K Bhoir
Check Out the following Code :Private Sub btnCheck_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnGo.Click Me.Cursor = Cursors.WaitCursor Application.DoEvents() ' Get the threshold. Dim threshold As Integer = _ ...
26 Nov 2011 by chieto
Thanks for your reply. . but what algorithm im going to use?Thanks