Search found 5 matches
- Sun May 28, 2006 4:13 am
- Forum: Compiler / Linking / IDE Related
- Topic: I get an error that I cannot fix HELP please
- Replies: 6
- Views: 1487
First make sure the library is built its the same solution as the base and core, as well as the all the image libs. Secondly you need to make sure that you have the library folder where all your libs are held somewhere in your library include path. It looks like your using VC++, i am assuming its 20...
- Sat May 27, 2006 8:25 pm
- Forum: C++ Development
- Topic: Cropping Raw Image Data
- Replies: 1
- Views: 1345
Solved -- unsigned char* image = tga.GetImg(); unsigned char* src = NULL; unsigned char *newimage = new unsigned char[w*h*3]; unsigned char *dst = newimage; short lineWidth = w*3; //Width of line to be copied for(int y = y1;y<y2;y++) { src = image + ((y)*yimgdim*3); for(int i = 0;i<lineWidth;i++,dst...
- Sat May 27, 2006 3:21 pm
- Forum: C++ Development
- Topic: Cropping Raw Image Data
- Replies: 1
- Views: 1345
Cropping Raw Image Data
Well i am at wits end here, trying to make this work. Someone please correct me if i am wrong here, but in a 24 bit/pixel targa there would be 3 bytes per pixel of data correct? If this is so, can someone please explain why the following data doesn't properly crop the data? I am using this as my TGA...
- Thu May 25, 2006 11:05 pm
- Forum: C++ Development
- Topic: Drawing Order
- Replies: 2
- Views: 1061
- Thu May 25, 2006 4:22 am
- Forum: C++ Development
- Topic: Drawing Order
- Replies: 2
- Views: 1061
Drawing Order
Hey everyone, I am curious if someone might be able to help me solve an issue. I have designed a selection box using a transparent background and dc.DrawRectangle(); It works well however the real goal is to make a Photoshop/Imageready selection box on top of an image, however i am running into a pr...