Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Thread: Reading pgm file

    by Norm
    Replies
    10
    Views
    4,321

    [SOLVED] Re: Reading pgm file

    If the data can include any byte values, I don't see how you can tell when a byte is data or when a byte is whitespace.
    Are you sure the data bytes have values from 0 to 255?
    Or is the data...
  2. Thread: Reading pgm file

    by Norm
    Replies
    10
    Views
    4,321

    [SOLVED] Re: Reading pgm file

    How can you tell difference between a byte with image data and a byte with a whitespace,
    If the image data values can be from 0 to 255?
  3. Thread: Reading pgm file

    by Norm
    Replies
    10
    Views
    4,321

    [SOLVED] Re: Reading pgm file

    Why are there newline characters mixed in with the bytes that can contain any value from 0 to 255?
  4. Thread: Reading pgm file

    by Norm
    Replies
    10
    Views
    4,321

    [SOLVED] Re: Reading pgm file

    Are any of the values of the bytes the same as the newline('\n') character's value?
  5. Thread: Reading pgm file

    by Norm
    Replies
    10
    Views
    4,321

    [SOLVED] Re: Reading pgm file

    What is the value of Maxval? byte variables are signed so the max (positive) value a byte can hold is 127 (0x7F) If the high order bit of the byte is a 1, the value of the byte will be negative.
Results 1 to 5 of 5