CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Coder Dave

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    6,539

    Re: Help with a program to resize an image

    OK, I missed the part of this being an online course so there may not even be an instructor. I also misread the CS50 to be CS550. This is obviously an introductory programming course. I believe...
  2. Replies
    7
    Views
    6,539

    Re: Help with a program to resize an image

    Given that this is a college assignment, the goal may very well be to teach the student about the bitmap structure and/or reading and writing files sequentially, and not about the most efficient or...
  3. Replies
    7
    Views
    6,539

    Re: Help with a program to resize an image

    Dude22 wrote:


    Since you are calculating the padding for the re-sized image, you want to use bi2.biWidth.
    A more efficient formula for calculating the padding is:
    int padding = ((bi2.biWidth +...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured