Closed Thread
Results 1 to 2 of 2

Thread: Image editing , C# //not C# specific

  1. #1
    totonex's Avatar
    totonex is offline Learning Programmer
    Join Date
    Dec 2008
    Location
    Oradea, Romania
    Posts
    82
    Rep Power
    0

    Image editing , C# //not C# specific

    Hello, i'm doing something in C#...that's why i'm poting it here.
    I will make an application which hides text in an image, by changing the image's least significant bits, to reproduce the ASCII equivalent (A is 65, which is 0100001) of each of the text's letters.
    Problem is, i can't just open an image in a binary format, and carelessly sifting through the byte array. For example, BMP's have a 54-byte header, so the algorithm should start chopping bytes only from the 55th byte.
    Modifying the header would destroy the image.
    My main question is:
    Does anyone here know precisely this kind of information for other formats (GIF,JPG,PNG) ? I've searched quite a lot, and haven't been able to find information about them. I need information regarding header length - i need the byte number at which data about pixels starts. (e.g. in BMP's it starts at the 55th byte) .
    And also ...since it is a C# thread. Methods for opening a file binary, and processing it as a byte array.
    Thanks.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    lobo521 is offline Learning Programmer
    Join Date
    Jan 2010
    Posts
    57
    Rep Power
    8

    Re: Image editing , C# //not C# specific

    In C# there should be some Image class.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hex Editing
    By kylelendo in forum General Programming
    Replies: 11
    Last Post: 08-23-2011, 07:24 AM
  2. PHP show image if pulled from specific URL?
    By phpforfun in forum PHP Development
    Replies: 2
    Last Post: 04-07-2011, 11:59 AM
  3. Replies: 0
    Last Post: 12-02-2010, 01:03 AM
  4. Hex editing help
    By Kramathorn in forum General Programming
    Replies: 5
    Last Post: 09-03-2010, 03:10 AM
  5. Capture image of a specific window.
    By sakishrist in forum Visual Basic Programming
    Replies: 0
    Last Post: 04-21-2008, 09:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

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