Results 1 to 12 of 12

Thread: Split File.

  1. #1

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Split File.

    Guys,

    Any of you C/C++ Legendary programmer's could tell me how to split a Multipage TIFF file and save each page as a separate image writing code.

  2. #2

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Have you looked at wotsit.org for an explanation of the TIFF format?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I would suggest using libtiff.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Originally posted by parksie
    I would suggest using libtiff.
    And Where can I find this thingy ?????

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Google.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    You post in the VB Forum a lot - you really don't want to try this IMO.

    Go into VB and use the Koadak ImgEdit & ImgAdmin controls.
    They handle TIFF natively, and you can do the equivalent of BitBlt
    on a rect of the screen to another tif image.

    You can also do the same thing in C++.

    Here is sample code for both languages I believe:

    http://www.eistream.com/support_pro/...ample_code.htm

  8. #8

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Kodak controls are worthless piece of crap .... thats what they are ...
    And the site address you gave me uses these controls so apparently that site is crap too ....

    I need it done through code ... no activex crap ..

    Thanks for your help though ...

  9. #9
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    Wrong - they wrote the controls.

    You then need to goto www.wotsit.org and start reading.

  10. #10
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625

    Better sollution

    How about this C++ Image Library I found at the codeproject:

    http://www.codeproject.com/bitmap/cximage.asp

    You will learn ALOT from it!! And its FREE!! Otherwise just download the libtiff from their homepage and play with that!
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

  11. #11

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: Better sollution

    Originally posted by MoMad
    How about this C++ Image Library I found at the codeproject:

    http://www.codeproject.com/bitmap/cximage.asp

    You will learn ALOT from it!! And its FREE!! Otherwise just download the libtiff from their homepage and play with that!
    AMAZING ... THANKS MOMAD.

  12. #12
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    No Problem.
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

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