DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate

DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate (http://www.discussworldissues.com/forums/index.php)
-   General Discussion (http://www.discussworldissues.com/forums/forumdisplay.php?f=27)
-   -   Extracting pixel data from a bmp (http://www.discussworldissues.com/forums/showthread.php?t=121434)

Uvgsgssu 02-13-2007 04:36 PM

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.

ZESINTERS 02-13-2007 04:43 PM

Extracting pixel data from a bmp

MS Paint shows bmp. http://www.discussworldissues.com/fo...milies/nod.gif

Adimos 02-13-2007 04:44 PM

Originally posted by KrazyHorse
Something that will knock out header information and reformat pixel data into an mXn array http://easybmp.sourceforge.net/
?

finasteride 02-13-2007 04:45 PM

Standalone, please...

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

herbalviagra 02-13-2007 04:50 PM

You are the man.

irridgita 02-13-2007 04:52 PM

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.

km2000 02-13-2007 05:01 PM

If I wasn't a bit swamped today I'd help.

anxpuna 02-13-2007 05:38 PM

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.

infinkPoode 02-13-2007 06:07 PM

Okay. This was my first time doing anything in C++ (did **** in C before, along with FORTRAN and IDL)

C++ is the ****ing ****.

beriarele 02-13-2007 07:40 PM

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.

dselectronics 02-13-2007 07:55 PM

Are you doing C-style C++ or going all-out with object oriented, polymorphic goodness?

kjsdiuwe 02-13-2007 07:58 PM

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). http://www.discussworldissues.com/fo...ilies/wink.gif

Seesspoxy 02-13-2007 08:15 PM

Fortran: 1957
C: 1972
C++: 1983
Java: 1995
C#: 2001

Swidemaiskikemu 02-13-2007 08:46 PM

My dad taught a class in C++ in the late 80s

JM

tweriaroats 02-13-2007 09:25 PM

Originally posted by Richelieu
I still have nightmare about pointers http://www.discussworldissues.com/fo...s/frownnod.gif 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.

allaboutauto.us 02-13-2007 09:45 PM

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.


All times are GMT +1. The time now is 02:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2