News for hackers. Stuff that matters.
Re:[EXPERIMENT] I attached a file to a tweet by nsmartt on Sunday January 22, 2012 @11:20PM (#3499023)
I have no idea if this guy is serious, (EDIT: I submitted this before I saw his response) but it's entirely possible to embed data in JPEG files via base64 + modifying exif data. It isn't really viable for large files, however, unless vastly distributed. Perl:

  use Image::img;

  my $img = new Image::img;

  $img->ExtractInfo('image.jpg');
  #$img->SetNewValue("UserComment", $yourdata);
  #$img->SetNewValue("Comment", $yourdata);
  $img->WriteInfo('image.jpg');
Re:[EXPERIMENT] I attached a file to a tweet by hoop on Monday January 23, 2012 @01:43AM (#3499378)
You don't need to use exif data. Many tools use the often ignored alpha channel of each pixel. In this case, you have X x Y bytes of available storage where X and Y are the width and height of the image.
Re:[EXPERIMENT] I attached a file to a tweet by baddox on Monday January 23, 2012 @03:24AM (#3499563)
For lossless images, you could also use the least significant bit of each color channel of each pixel to represent your binary payload. I doubt this would be noticeable, especially with a photograph.