![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Visual Basic Discuss Visual Basic programing. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Reading a Graphics File in VB 2005 Just wondering if anyone has any source code for reading each pixel in a jpg gif bmp ect? Any help would be appreciated!! Gary |
|
#2
| ||||
| ||||
| This should get you started. The code is in VB.NET 2005, it may not be the fastest way to plot pixels, maybe it will help you out? Open one of the bmp, that I included in the zip, then click "Start Plot". I attached a screenshot of the project in the zip, & a screenshot of the generated g-code, plotted in NcPlot ( www.ncplot.com ) . . Last edited by Switcher; 06-24-2007 at 11:58 AM. |
|
#4
| ||||
| ||||
| Another way to go about this is with "Bitmap.LockBits". I've read it is much faster than "Getpixel" (I havn't tried "Bitmap.LockBits", yet). Example: 1) http://msdn2.microsoft.com/en-us/library/5ey6h79d.aspx 2) http://www.devx.com/vb2themax/Tip/18...ticle&trk=MSCP . |
|
#5
| |||
| |||
| Switcher, Thanks alot man I will check this stuff out! Gary |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| reading modbus inputs | howling60 | Mach Software (ArtSoft software) | 1 | 04-17-2007 08:41 AM |
| problem with cnc reading bob/cad OR something | jr2840 | Bridgeport and Hardinge Mills | 4 | 09-08-2006 12:28 PM |
| Reading only new posts | PEU | Forum Questions or Problems | 1 | 06-04-2005 11:22 PM |
| CNC recommended reading? | margni74 | General Metal Working Machines | 7 | 12-29-2003 10:28 PM |