Convert an Image into binary file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sundarannamalai
    New Member
    • Feb 2008
    • 1

    Convert an Image into binary file

    How can we convert an image into binary file in java?
  • BigDaddyLH
    Recognized Expert Top Contributor
    • Dec 2007
    • 1216

    #2
    Originally posted by sundarannamalai
    How can we convert an image into binary file in java?
    I'm not sure what you are asking, but if you want to write an image using the usual sort of image formats (gif, jpeg, png), use ImageIO of package javax.imageio:

    Comment

    • minouparhizkar
      New Member
      • Mar 2008
      • 4

      #3
      Originally posted by BigDaddyLH
      I'm not sure what you are asking, but if you want to write an image using the usual sort of image formats (gif, jpeg, png), use ImageIO of package javax.imageio:

      http://java.sun.com/docs/books/tutor...saveimage.html

      hey im looking for the code that convert image (gif) to the binary. have you done that,couse i dont have knowledge about coding in java.and im looking for some one that do this before.to attach that to my work could you help me on that as well plzzzzzzzzzzzzz zzzzzz!!

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Originally posted by minouparhizkar
        hey im looking for the code that convert image (gif) to the binary. have you done that,couse i dont have knowledge about coding in java.and im looking for some one that do this before.to attach that to my work could you help me on that as well plzzzzzzzzzzzzz zzzzzz!!
        Did you read the tutorial?

        Comment

        • minouparhizkar
          New Member
          • Mar 2008
          • 4

          #5
          Originally posted by BigDaddyLH
          Did you read the tutorial?

          which tutorial is it related to my code???

          Comment

          • BigDaddyLH
            Recognized Expert Top Contributor
            • Dec 2007
            • 1216

            #6
            Originally posted by minouparhizkar
            which tutorial is it related to my code???
            The link I posted in #2 and you quoted in #3. A tutorial on how to convert an image into a binary file.

            Comment

            • minouparhizkar
              New Member
              • Mar 2008
              • 4

              #7
              Originally posted by BigDaddyLH
              The link I posted in #2 and you quoted in #3. A tutorial on how to convert an image into a binary file.

              yeap but i don know how to use it for my code,do you think my code isnt enough good?/? i need to know wats wrong with my code.

              Comment

              • BigDaddyLH
                Recognized Expert Top Contributor
                • Dec 2007
                • 1216

                #8
                Originally posted by minouparhizkar
                yeap but i don know how to use it for my code,do you think my code isnt enough good?/? i need to know wats wrong with my code.
                Since I haven't seen your code, I can't comment on it.

                Comment

                Working...