Find the answer to your Linux question:
Results 1 to 3 of 3
I'd like to represent data in a graphic form and one example is a million bits of data represented as a square .gif of 1 million pixels. I'm posting here ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Location
    Manchester, UK
    Posts
    2

    Question 1 million bits of data to 1000x1000 gif?

    I'd like to represent data in a graphic form and one example is a million bits of data represented as a square .gif of 1 million pixels.


    I'm posting here rather than [Art & Imaging] as I'd like to dump 0s and 1s directly into gif|jpg|png or other format, rather than using an application. Even with an application I'm not sure of an efficient way to channel the data. Any ideas?

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    I use http://www.imagemagick.or for all my image related needs.

    It would be interesting to try if stream can read from stdin, in which case you could just pipe the 1000^2 pixels and be done with it.
    Debian GNU/Linux -- You know you want it.

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Location
    Manchester, UK
    Posts
    2

    Thumbs up

    Thanks for suggesting imagemagick org. That had me wondering about hacking hex directly and how much easier plain text formats would be.

    The SVG XML format does that and GIMP can then read it, which suggests I can convert image svg to other formats.


Posting Permissions

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