Thread: Creating a ppm diagram

  1. #1
    Registered User
    Join Date
    Nov 2016
    Posts
    2

    Creating a ppm diagram

    Hello everyone.

    I have some c-code. It's nothing special, just an option to save a few numbers into a file. Now I want to open this saved file again and create a ppm diagram. But I don't know how. May someone help me with this?

    Thanks. Sincerely Teddy

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,541
    I'm guessing you mean Netpbm format - Wikipedia

    Some actual numbers and an idea of what sort of picture you're hoping to see would be useful.

    As would some attempt at the problem on your part.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2016
    Posts
    2
    Yeah exactly this format I meant.
    I save a few float numbers in a txt file. Then i have the option to open that file again and now I want to generate a simple ASCII image (.ppm)

  4. #4
    Registered User
    Join Date
    Jun 2015
    Posts
    1,643
    "I want to generate a ppm image from a few floats in a text flie."

    What kind of image? A graph? An elephant?

    What's stopping you from doing it?

    Do you understand the ppm format?
    Post some code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tree diagram
    By Pierre Elis in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2014, 11:00 AM
  2. Network Diagram: What's the easiest way?
    By User Name: in forum C++ Programming
    Replies: 2
    Last Post: 03-21-2011, 11:39 PM
  3. box-and-circle diagram
    By kezkez in forum C Programming
    Replies: 0
    Last Post: 02-12-2010, 10:34 PM
  4. UML: Context diagram
    By society in forum Tech Board
    Replies: 3
    Last Post: 01-05-2006, 12:54 PM

Tags for this Thread