Results 1 to 3 of 3

Thread: Load a tif file

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    1

    Load a tif file

    Hi!


    How can I load a tif file into a picture control whitout convert him first.

    Thanks
    Mircea Serban

  2. #2
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350
    I think you would have to write code to interpret the tags (compression, resolution, no of strips blah blah), and then follow the pointers round the file to get to the parts that actually set the pixels on and off, then draw those yourself.

    This is no trivial task, unless the tif file is monochrome uncompressed, since then you'll find strings of 1s and 0s (well hex actually) and use them to set your pixels.

    I've actually done it for that case, but anything further is pretty complex.
    .

  3. #3
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278
    hi,

    cant u use something like Kodak Imaging or Wang control...??

    regds,
    ashay

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width