473,479 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Faster way of reading pixels from Bitmap object

I'm reading pixel values (RGB) from a bitmap object using function from
system.drawing namespace & vb.net (.net framework 1.1)

But I would like to make it faster, so is there any another way of reading
pixel values from bitmap objects? (some API or smthng)
Dec 19 '05 #1
1 1562
On Mon, 19 Dec 2005 21:42:59 +0100, "bongoo" <ne**@net.hr> wrote:
I'm reading pixel values (RGB) from a bitmap object using function from
system.drawing namespace & vb.net (.net framework 1.1)

But I would like to make it faster, so is there any another way of reading
pixel values from bitmap objects? (some API or smthng)


Eric Gunnerson wrote an article called 'Unsafe Image Processing' that
covers use of Lockbits() for dealing with pixels in a bitmap. check:
http://tinyurl.com/9vcbu

Eric refers to C# but the concepts are the same.

If you wanted to dive deeper, you could check Pinvoke.net for info on
accessing DibSections.

Dec 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
23840
by: Ma Xiaoguang | last post by:
Dear ladies and gentlemen: How to access all the pixels of a bitmap with C#? I am working with Delphi before. In Delphi, you can use TBitmap.Scanline property to access all the pixels of a...
2
1858
by: djharrison | last post by:
Greetings, I am attempting to develop an application that will color the pixels in a PictureBox based on the x and y coordinates for individual pixels in an array. I would like to load the...
1
1068
by: WStoreyII | last post by:
I need to know how to take the pixels from an image and create a table of them in like excell or text even or even an aray of pixels with the coordinates thanks WStoreyII
1
1917
by: Depor | last post by:
I want to do some operations on pixels in bitmap. But method GetPixel() is slow. There is a function ScanLine() in Borland C++ Builder and it's possible to operate on all row of pixels at once. Do...
3
2589
by: Chris Saunders | last post by:
I am fairly new to .Net and C# but am familiar with the Win32 API. I wish to set the pixels of the client area of a window one at a time with a specific color. I have so far discovered that...
2
1583
by: MrAsm | last post by:
Hi, I would like to create a form and read the pixels of the layer under my form (think of a kind of magnifier glass), to do some processing on them. Do you have any idea about how to do...
16
3714
by: Jm.GlezdeRueda | last post by:
Hi all, Im trying to read a 24bit bmp with fread, and i have some problems.. I want to read the whole structure in one time, but i dont know why, it only reads the first member well.. I have...
4
2864
by: Martijn Mulder | last post by:
When I zoom in on an image, GDI+ automatically smoothens the edges between the pixels. I am looking for a way to see the individual pixels as squares in the enlarged image, like in MSPaint. I...
0
1274
by: ProtossLee | last post by:
Hi, I am make a project to draw bitmap image. Pixel intensities are calculated from data received from instruments. Problem is, sometimes I get wrong data points, such as: correct data should be...
0
7027
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7067
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6719
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6847
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4757
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2980
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1288
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
166
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.