LOGO
General Discussion Undecided where to post - do it here.

Reply to Thread New Thread
Old 02-13-2007, 04:36 PM   #1
Uvgsgssu

Join Date
Oct 2005
Posts
534
Senior Member
Default Extracting pixel data from a bmp
Um, what do you mean?

How many pixels? What color? How many of what color?

What are you looking for?

Tom P.
Uvgsgssu is offline


Old 02-13-2007, 04:43 PM   #2
ZESINTERS

Join Date
Oct 2005
Posts
357
Senior Member
Default
Extracting pixel data from a bmp

MS Paint shows bmp.
ZESINTERS is offline


Old 02-13-2007, 04:44 PM   #3
Adimos

Join Date
Oct 2005
Posts
536
Senior Member
Default
Originally posted by KrazyHorse
Something that will knock out header information and reformat pixel data into an mXn array http://easybmp.sourceforge.net/
?
Adimos is offline


Old 02-13-2007, 04:45 PM   #4
finasteride

Join Date
Oct 2005
Posts
488
Senior Member
Default
Standalone, please...

My wife is generally hopeless when it comes to computers...
finasteride is offline


Old 02-13-2007, 04:50 PM   #5
herbalviagra

Join Date
Oct 2005
Posts
384
Senior Member
Default
You are the man.
herbalviagra is offline


Old 02-13-2007, 04:52 PM   #6
irridgita

Join Date
Oct 2005
Posts
470
Senior Member
Default
Doesn't seem to have a program that does what you want.

Use the library I linked above to get your wife a hot valentines' day gift.
irridgita is offline


Old 02-13-2007, 05:01 PM   #7
km2000

Join Date
Oct 2005
Posts
419
Senior Member
Default
If I wasn't a bit swamped today I'd help.
km2000 is offline


Old 02-13-2007, 05:38 PM   #8
anxpuna

Join Date
Oct 2005
Posts
572
Senior Member
Default
OK, now I think I know what you want.

I could write one real easy... It'd be in .NET but I could do it.

You want?

Tom P.
anxpuna is offline


Old 02-13-2007, 06:07 PM   #9
infinkPoode

Join Date
Nov 2005
Posts
406
Senior Member
Default
Okay. This was my first time doing anything in C++ (did **** in C before, along with FORTRAN and IDL)

C++ is the ****ing ****.
infinkPoode is offline


Old 02-13-2007, 07:40 PM   #10
beriarele

Join Date
Oct 2005
Posts
333
Senior Member
Default
Originally posted by KrazyHorse
Okay. This was my first time doing anything in C++ (did **** in C before, along with FORTRAN and IDL)

C++ is the ****ing ****. If you think C++ is awesome, C# is Godly.
beriarele is offline


Old 02-13-2007, 07:55 PM   #11
dselectronics

Join Date
Oct 2005
Posts
469
Senior Member
Default
Are you doing C-style C++ or going all-out with object oriented, polymorphic goodness?
dselectronics is offline


Old 02-13-2007, 07:58 PM   #12
kjsdiuwe

Join Date
Oct 2005
Posts
508
Senior Member
Default
Originally posted by KrazyHorse
I googled for how to do a couple of things that were annoying to do in C (i.e. I knew how to do them in C, but searched for how to do them in C++) and it seems much easier in C++ (less monkeying around with the innards when all I need is something simple) So you advanced from 1970s era languages to a 1980s era one. I can't wait til you discover Java (90s) and then C# (2000s).
kjsdiuwe is offline


Old 02-13-2007, 08:15 PM   #13
Seesspoxy

Join Date
Oct 2005
Posts
528
Senior Member
Default
Fortran: 1957
C: 1972
C++: 1983
Java: 1995
C#: 2001
Seesspoxy is offline


Old 02-13-2007, 08:46 PM   #14
Swidemaiskikemu

Join Date
Oct 2005
Posts
439
Senior Member
Default
My dad taught a class in C++ in the late 80s

JM
Swidemaiskikemu is offline


Old 02-13-2007, 09:25 PM   #15
tweriaroats

Join Date
Oct 2005
Posts
368
Senior Member
Default
Originally posted by Richelieu
I still have nightmare about pointers Oddly enough, this is one of the times pointers come in handy.

I am having such a time with WorldPainter because I can't resize and repaint the bitmap as fast as I want to (I want a red square to highlight the plot you are pointing at, is that so hard?).

In C++ I'd just get the pointer to the screen data and the offset and jump to the appropriate byte, color it, replace the old value, and put the whole thing back.

Without pointers I'm stuck wandering through the entire structure and BOY, is it costly.

So I try to use DirectX... it doesn't support 2D anymore!

The other problem I have is - to everyone that knows how to do this stuff, it's easy. So they say "Declare a surface and use it." ... WHAT?!? And if you ask them to explain themselves they get mad.

However, for 90% of the stuff programmers use it for, C# is IT!

Now to get someone to pay me for doing C# and I'll be all set.

Tom P.
tweriaroats is offline


Old 02-13-2007, 09:45 PM   #16
allaboutauto.us

Join Date
Oct 2005
Posts
454
Senior Member
Default
C# may not be the best work for scientific calculations, either. Though it probably doesn't matter unless you know how to optimize your program to some degree.
allaboutauto.us is offline



Reply to Thread New Thread

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 11:52 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity