Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. CCITT4 compression

CCITT4 compression

Scheduled Pinned Locked Moved C#
question
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ice_Freez05
    wrote on last edited by
    #1

    I am developing a small image editing program and the output is in a compress tiff file.my program runs well in my workstation which is win7 but when i try to run my program in winXP,it throws an exception "paramater is not valid".the exception is caused by my compression that am using,which is CCITT4.is there any other way to make CCITT4 work in winXP? thanks a million guys...

    R E 2 Replies Last reply
    0
    • I Ice_Freez05

      I am developing a small image editing program and the output is in a compress tiff file.my program runs well in my workstation which is win7 but when i try to run my program in winXP,it throws an exception "paramater is not valid".the exception is caused by my compression that am using,which is CCITT4.is there any other way to make CCITT4 work in winXP? thanks a million guys...

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      The symptoms suggest that you're using a call to a library that is more recent than those included in WinXP. Did you write the compression routine yourself, or use a third party tool? IIRC, WinXP shipped with the .Net Framework 2.0, and since you're developing on a Win7 machine you have at least the 3.5 version installed. You might try installing the .Net Framework 3.5 package on your WinXP machine before rewriting everything.

      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

      I 1 Reply Last reply
      0
      • R Roger Wright

        The symptoms suggest that you're using a call to a library that is more recent than those included in WinXP. Did you write the compression routine yourself, or use a third party tool? IIRC, WinXP shipped with the .Net Framework 2.0, and since you're developing on a Win7 machine you have at least the 3.5 version installed. You might try installing the .Net Framework 3.5 package on your WinXP machine before rewriting everything.

        "A Journey of a Thousand Rest Stops Begins with a Single Movement"

        I Offline
        I Offline
        Ice_Freez05
        wrote on last edited by
        #3

        i've already installed vs2008 in winXP.I believe that .Net framework 3.5 is already included in vs2008. and the CCITT4 compression is included in vs2008. so I don't have to use a third party software or dll.is there anyway i can make the compression in winXP...thanks...

        R 1 Reply Last reply
        0
        • I Ice_Freez05

          i've already installed vs2008 in winXP.I believe that .Net framework 3.5 is already included in vs2008. and the CCITT4 compression is included in vs2008. so I don't have to use a third party software or dll.is there anyway i can make the compression in winXP...thanks...

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #4

          You're correct - VS2008 does install the 3.5 Framework. I can't think of any other reason that the routine would fail in XP but work in Win7, especially if the same tool is installed on both. I haven't worked with CCITT4, so I have no personal experience to offer. Hopefully someone more helpful will come along soon; good luck! :)

          "A Journey of a Thousand Rest Stops Begins with a Single Movement"

          I 1 Reply Last reply
          0
          • R Roger Wright

            You're correct - VS2008 does install the 3.5 Framework. I can't think of any other reason that the routine would fail in XP but work in Win7, especially if the same tool is installed on both. I haven't worked with CCITT4, so I have no personal experience to offer. Hopefully someone more helpful will come along soon; good luck! :)

            "A Journey of a Thousand Rest Stops Begins with a Single Movement"

            I Offline
            I Offline
            Ice_Freez05
            wrote on last edited by
            #5

            thank you very much man... ;)

            1 Reply Last reply
            0
            • I Ice_Freez05

              I am developing a small image editing program and the output is in a compress tiff file.my program runs well in my workstation which is win7 but when i try to run my program in winXP,it throws an exception "paramater is not valid".the exception is caused by my compression that am using,which is CCITT4.is there any other way to make CCITT4 work in winXP? thanks a million guys...

              E Offline
              E Offline
              Ennis Ray Lynch Jr
              wrote on last edited by
              #6

              Check out CCodecList[^] Most likely the codec is not installed. The above code shows how to list the codecs installed on a machine.

              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups