libtiff question

Discussion in 'C Programming' started by James Sumners, Feb 11, 2008.

  1. Hopefully someone here is familiar with libtiff[1] and can help me with
    a problem I am having.

    I've written a program[2] that reads a grayscale image into memory and
    writes it to another file. The problem is that the new image is
    multiple copies of the original image in the same pixel space. It's a
    bit difficult to describe. Included in the zip is "fractal_gs.tiff",
    the original image, and "fractal_gs_2.tiff", the copy.

    Any ideas?


    [1] -- http://www.libtiff.org/
    [2] -- http://student.claytonstate.net/~jsumners/files/tiff_copy.zip
    James Sumners, Feb 11, 2008
    #1
    1. Advertising

  2. On 2008-02-10 23:03:15 -0500, James Sumners <> said:

    > Hopefully someone here is familiar with libtiff[1] and can help me with
    > a problem I am having.
    >
    > I've written a program[2] that reads a grayscale image into memory and
    > writes it to another file. The problem is that the new image is
    > multiple copies of the original image in the same pixel space. It's a
    > bit difficult to describe. Included in the zip is "fractal_gs.tiff",
    > the original image, and "fractal_gs_2.tiff", the copy.
    >
    > Any ideas?
    >
    >
    > [1] -- http://www.libtiff.org/
    > [2] -- http://student.claytonstate.net/~jsumners/files/tiff_copy.zip


    Nevermind. I solved my problem. I was setting the samples per pixel
    incorrectly.
    James Sumners, Feb 11, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sean
    Replies:
    1
    Views:
    591
    Cowboy \(Gregory A. Beamer\)
    Oct 20, 2003
  2. =?Utf-8?B?UnlhbiBTbWl0aA==?=

    Quick Question - Newby Question

    =?Utf-8?B?UnlhbiBTbWl0aA==?=, Feb 14, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    646
    Iain Norman
    Feb 16, 2005
  3. =?Utf-8?B?YW5kcmV3MDA3?=

    question row filter (more of sql query question)

    =?Utf-8?B?YW5kcmV3MDA3?=, Oct 5, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    942
    Scott Allen
    Oct 6, 2005
  4. Philip Meyer
    Replies:
    0
    Views:
    417
    Philip Meyer
    Nov 30, 2003
  5. Tuvas
    Replies:
    7
    Views:
    291
    Tuvas
    Nov 12, 2005
Loading...

Share This Page